Searched refs:LWM2M_FLOAT32_DEC_MAX (Results 1 – 4 of 4) sorted by relevance
53 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()
91 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()
87 *ms += f->val2 / (LWM2M_FLOAT32_DEC_MAX / MSEC_PER_SEC); in float2ms()
371 #define LWM2M_FLOAT32_DEC_MAX 1000000 macro