Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/tinystdio/
Datof_ryu.c27 #define FLOAT_MANTISSA_BITS 23 macro
89 e2 = floor_log2(m10) + e10 + log2pow5(e10) - (FLOAT_MANTISSA_BITS + 1); in __atof_engine()
104 e2 = floor_log2(m10) + e10 - ceil_log2pow5(-e10) - (FLOAT_MANTISSA_BITS + 1); in __atof_engine()
132 …int32_t) signedM) << (FLOAT_EXPONENT_BITS + FLOAT_MANTISSA_BITS)) | ((uint32_t) 0xffu << FLOAT_MAN… in __atof_engine()
139 int32_t shift = (ieee_e2 == 0 ? 1 : ieee_e2) - e2 - FLOAT_EXPONENT_BIAS - FLOAT_MANTISSA_BITS; in __atof_engine()
160 assert(ieee_m2 <= (1u << (FLOAT_MANTISSA_BITS + 1))); in __atof_engine()
161 ieee_m2 &= ((uint32_t)1u << FLOAT_MANTISSA_BITS) - 1; in __atof_engine()
168 …(uint32_t) signedM) << FLOAT_EXPONENT_BITS) | (uint32_t)ieee_e2) << FLOAT_MANTISSA_BITS) | ieee_m2; in __atof_engine()
Dftoa_ryu.c30 #define FLOAT_MANTISSA_BITS 23 macro
61 e2 = 1 - FLOAT_BIAS - FLOAT_MANTISSA_BITS - 2; in f2d()
64 e2 = (int32_t) ieeeExponent - FLOAT_BIAS - FLOAT_MANTISSA_BITS - 2; in f2d()
65 m2 = ((uint32_t)1u << FLOAT_MANTISSA_BITS) | ieeeMantissa; in f2d()
305 const bool ieeeSign = ((bits >> (FLOAT_MANTISSA_BITS + FLOAT_EXPONENT_BITS)) & 1) != 0; in __ftoa_engine()
306 const uint64_t ieeeMantissa = bits & ((1ull << FLOAT_MANTISSA_BITS) - 1); in __ftoa_engine()
307 …const uint32_t ieeeExponent = (uint32_t) ((bits >> FLOAT_MANTISSA_BITS) & ((1u << FLOAT_EXPONENT_B… in __ftoa_engine()