Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_misc/
Dlv_printf.c478 } conv; in _etoa() local
480 conv.F = value; in _etoa()
481 int exp2 = (int)((conv.U >> 52U) & 0x07FFU) - 1023; // effectively log2 in _etoa()
482conv.U = (conv.U & ((1ULL << 52U) - 1U)) | (1023ULL << 52U); // drop the exponent so conv.F is no… in _etoa()
484 …int expval = (int)(0.1760912590558 + exp2 * 0.301029995663981 + (conv.F - 1.5) * 0.289529654602168… in _etoa()
489 conv.U = (uint64_t)(exp2 + 1023) << 52U; in _etoa()
491 conv.F *= 1 + 2 * z / (2 - z + (z2 / (6 + (z2 / (10 + z2 / 14))))); in _etoa()
493 if(value < conv.F) { in _etoa()
495 conv.F /= 10; in _etoa()
541 value /= conv.F; in _etoa()