46 #define STRICTLY_SHORTEST 0
49 #define RYU_32_BIT_PLATFORM
65 return ((((
uint32)
e) * 1217359) >> 19) + 1;
99 memcpy(result,
"NaN", 3);
108 memcpy(result +
sign,
"Infinity", 8);
120 memcpy(&bits, &f,
sizeof(
float));
129 memcpy(&bits, &d,
sizeof(
double));
#define Assert(condition)
static uint64 double_to_bits(const double d)
static uint32 float_to_bits(const float f)
static uint32 pow5bits(const int32 e)
static int32 log10Pow5(const int32 e)
static int copy_special_str(char *const result, const bool sign, const bool exponent, const bool mantissa)
static int32 log10Pow2(const int32 e)