Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Datod_ryu.c35 #define DOUBLE_MANTISSA_BITS 52 macro
90 e2 = floor_log2(m10) + e10 + log2pow5(e10) - (DOUBLE_MANTISSA_BITS + 1); in __atod_engine()
107 e2 = floor_log2(m10) + e10 - ceil_log2pow5(-e10) - (DOUBLE_MANTISSA_BITS + 1); in __atod_engine()
127 uint64_t ieee = (0x7ffull << DOUBLE_MANTISSA_BITS); in __atod_engine()
134 int32_t shift = (ieee_e2 == 0 ? 1 : ieee_e2) - e2 - DOUBLE_EXPONENT_BIAS - DOUBLE_MANTISSA_BITS; in __atod_engine()
155 assert(ieee_m2 <= (1ull << (DOUBLE_MANTISSA_BITS + 1))); in __atod_engine()
156 ieee_m2 &= (1ull << DOUBLE_MANTISSA_BITS) - 1; in __atod_engine()
161 uint64_t ieee = (((uint64_t)ieee_e2) << DOUBLE_MANTISSA_BITS) | ieee_m2; in __atod_engine()
Ddtoa_ryu.c48 #define DOUBLE_MANTISSA_BITS 52 macro
78 e2 = 1 - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS - 2; in d2d()
81 e2 = (int32_t) ieeeExponent - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS - 2; in d2d()
82 m2 = (1ull << DOUBLE_MANTISSA_BITS) | ieeeMantissa; in d2d()
328 const uint64_t m2 = (1ull << DOUBLE_MANTISSA_BITS) | ieeeMantissa; in d2d_small_int()
329 const int32_t e2 = (int32_t) ieeeExponent - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS; in d2d_small_int()
373 const bool ieeeSign = ((bits >> (DOUBLE_MANTISSA_BITS + DOUBLE_EXPONENT_BITS)) & 1) != 0; in __dtoa_engine()
374 const uint64_t ieeeMantissa = bits & ((1ull << DOUBLE_MANTISSA_BITS) - 1); in __dtoa_engine()
375 …const uint32_t ieeeExponent = (uint32_t) ((bits >> DOUBLE_MANTISSA_BITS) & ((1u << DOUBLE_EXPONENT… in __dtoa_engine()