Searched refs:PRECISION64 (Results 1 – 1 of 1) sorted by relevance
19 #define PRECISION64 100000000000000000ULL macro110 int64_t val2 = (*in - (int64_t)*in) * PRECISION64; in lwm2m_float_to_b64()145 if (!f && e < 0 && v < PRECISION64) { in lwm2m_float_to_b64()149 } else if (v >= PRECISION64) { in lwm2m_float_to_b64()150 v -= PRECISION64; in lwm2m_float_to_b64()302 k = PRECISION64; in lwm2m_b64_to_float()319 *out = (double)val1 - (double)val2 / PRECISION64; in lwm2m_b64_to_float()321 *out = (double)val1 + (double)val2 / PRECISION64; in lwm2m_b64_to_float()331 int64_t base = PRECISION64, sign = 1; in lwm2m_atof()371 *out = (double)val1 + (double)val2 / PRECISION64; in lwm2m_atof()[all …]