Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/
Dlwm2m_util.c53 if (!f && e < 0 && v < LWM2M_FLOAT32_DEC_MAX) { in lwm2m_f32_to_b32()
57 } else if (v >= LWM2M_FLOAT32_DEC_MAX) { in lwm2m_f32_to_b32()
58 v -= LWM2M_FLOAT32_DEC_MAX; in lwm2m_f32_to_b32()
133 if (!f && e < 0 && v < LWM2M_FLOAT32_DEC_MAX) { in lwm2m_f32_to_b64()
137 } else if (v >= LWM2M_FLOAT32_DEC_MAX) { in lwm2m_f32_to_b64()
138 v -= LWM2M_FLOAT32_DEC_MAX; in lwm2m_f32_to_b64()
218 k = LWM2M_FLOAT32_DEC_MAX; in lwm2m_b32_to_f32()
282 k = LWM2M_FLOAT32_DEC_MAX; in lwm2m_b64_to_f32()
305 int32_t base = LWM2M_FLOAT32_DEC_MAX, sign = 1; in lwm2m_atof32()
Dipso_timer.c91 f->val2 = (ms % MSEC_PER_SEC) * (LWM2M_FLOAT32_DEC_MAX / MSEC_PER_SEC); in ms2float()
99 *ms += f->val2 / (LWM2M_FLOAT32_DEC_MAX / MSEC_PER_SEC); in float2ms()
Dipso_buzzer.c87 *ms += f->val2 / (LWM2M_FLOAT32_DEC_MAX / MSEC_PER_SEC); in float2ms()
/Zephyr-Core-2.7.6/include/net/
Dlwm2m.h371 #define LWM2M_FLOAT32_DEC_MAX 1000000 macro