Lines Matching refs:sign
194 bool sign = false; in lwm2m_b32_to_float() local
205 sign = SHIFT_RIGHT(b32[0], 7, 0x1); in lwm2m_b32_to_float()
227 val1 = (f >> (23 - e)) * (sign ? -1 : 1); in lwm2m_b32_to_float()
247 if (sign) { in lwm2m_b32_to_float()
261 bool sign = false; in lwm2m_b64_to_float() local
272 sign = SHIFT_RIGHT(b64[0], 7, 0x1); in lwm2m_b64_to_float()
298 val1 = (f >> (52 - e)) * (sign ? -1 : 1); in lwm2m_b64_to_float()
318 if (sign) { in lwm2m_b64_to_float()
331 int64_t base = PRECISION64, sign = 1; in lwm2m_atof() local
342 sign = -1; in lwm2m_atof()
369 val2 *= sign * base; in lwm2m_atof()