Home
last modified time | relevance | path

Searched refs:PRECISION64 (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_util.c19 #define PRECISION64 100000000000000000ULL macro
110 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 …]