Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libc/tinystdio/
Datod_ryu.c32 #define DOUBLE_MANTISSA_BITS 52 macro
87 e2 = floor_log2(m10) + e10 + log2pow5(e10) - (DOUBLE_MANTISSA_BITS + 1); in __atod_engine()
104 e2 = floor_log2(m10) + e10 - ceil_log2pow5(-e10) - (DOUBLE_MANTISSA_BITS + 1); in __atod_engine()
124 uint64_t ieee = (0x7ffull << DOUBLE_MANTISSA_BITS); in __atod_engine()
131 int32_t shift = (ieee_e2 == 0 ? 1 : ieee_e2) - e2 - DOUBLE_EXPONENT_BIAS - DOUBLE_MANTISSA_BITS; in __atod_engine()
152 assert(ieee_m2 <= (1ull << (DOUBLE_MANTISSA_BITS + 1))); in __atod_engine()
153 ieee_m2 &= (1ull << DOUBLE_MANTISSA_BITS) - 1; in __atod_engine()
158 uint64_t ieee = (((uint64_t)ieee_e2) << DOUBLE_MANTISSA_BITS) | ieee_m2; in __atod_engine()
Ddtoa_ryu.c40 #define DOUBLE_MANTISSA_BITS 52 macro
70 e2 = 1 - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS - 2; in d2d()
73 e2 = (int32_t) ieeeExponent - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS - 2; in d2d()
74 m2 = (1ull << DOUBLE_MANTISSA_BITS) | ieeeMantissa; in d2d()
320 const uint64_t m2 = (1ull << DOUBLE_MANTISSA_BITS) | ieeeMantissa; in d2d_small_int()
321 const int32_t e2 = (int32_t) ieeeExponent - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS; in d2d_small_int()
367 const bool ieeeSign = ((bits >> (DOUBLE_MANTISSA_BITS + DOUBLE_EXPONENT_BITS)) & 1) != 0; in __dtoa_engine()
368 const uint64_t ieeeMantissa = bits & ((1ull << DOUBLE_MANTISSA_BITS) - 1); in __dtoa_engine()
369 …const uint32_t ieeeExponent = (uint32_t) ((bits >> DOUBLE_MANTISSA_BITS) & ((1u << DOUBLE_EXPONENT… in __dtoa_engine()