Searched refs:ieeeExponent (Results 1 – 2 of 2) sorted by relevance
/picolibc-latest/newlib/libc/tinystdio/ |
D | dtoa_ryu.c | 72 d2d(const uint64_t ieeeMantissa, const uint32_t ieeeExponent, int max_digits, bool fmode, int max_d… in d2d() argument 76 if (ieeeExponent == 0) { in d2d() 81 e2 = (int32_t) ieeeExponent - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS - 2; in d2d() 96 const uint32_t mmShift = ieeeMantissa != 0 || ieeeExponent <= 1; in d2d() 331 static inline bool d2d_small_int(const uint64_t ieeeMantissa, const uint32_t ieeeExponent, in d2d_small_int() argument 334 const int32_t e2 = (int32_t) ieeeExponent - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS; in d2d_small_int() 380 …const uint32_t ieeeExponent = (uint32_t) ((bits >> DOUBLE_MANTISSA_BITS) & ((1u << DOUBLE_EXPONENT… in __dtoa_engine() local 386 if (ieeeExponent == 0 && ieeeMantissa == 0) { in __dtoa_engine() 393 if (ieeeExponent == ((1u << DOUBLE_EXPONENT_BITS) - 1u)) { in __dtoa_engine() 404 const bool isSmallInt = d2d_small_int(ieeeMantissa, ieeeExponent, &v); in __dtoa_engine() [all …]
|
D | ftoa_ryu.c | 55 f2d(const uint32_t ieeeMantissa, const uint32_t ieeeExponent, int max_digits, bool fmode, int max_d… in f2d() argument 59 if (ieeeExponent == 0) { in f2d() 64 e2 = (int32_t) ieeeExponent - FLOAT_BIAS - FLOAT_MANTISSA_BITS - 2; in f2d() 79 const uint32_t mmShift = ieeeMantissa != 0 || ieeeExponent <= 1; in f2d() 307 …const uint32_t ieeeExponent = (uint32_t) ((bits >> FLOAT_MANTISSA_BITS) & ((1u << FLOAT_EXPONENT_B… in __ftoa_engine() local 314 if (ieeeExponent == 0 && ieeeMantissa == 0) { in __ftoa_engine() 321 if (ieeeExponent == ((1u << FLOAT_EXPONENT_BITS) - 1u)) { in __ftoa_engine() 333 v = f2d(ieeeMantissa, ieeeExponent, max_digits, fmode, max_decimals); in __ftoa_engine()
|