Searched refs:make_float (Results 1 – 1 of 1) sorted by relevance
/third_party/json/test/src/ |
D | unit-to_chars.cpp | 41 static float make_float(uint32_t sign_bit, uint32_t biased_exponent, uint32_t significand) in make_float() function 57 static float make_float(uint64_t f, int e) in make_float() function 165 check_float(make_float(0, 0, 0x00000001), "1", -45); // min denormal 166 check_float(make_float(0, 0, 0x007FFFFF), "11754942", -45); // max denormal 167 check_float(make_float(0, 1, 0x00000000), "11754944", -45); // min normal 168 check_float(make_float(0, 1, 0x00000001), "11754945", -45); 169 check_float(make_float(0, 1, 0x007FFFFF), "23509886", -45); 170 check_float(make_float(0, 2, 0x00000000), "23509887", -45); 171 check_float(make_float(0, 2, 0x00000001), "2350989", -44); 172 …check_float(make_float(0, 24, 0x00000000), "98607613", -39); // fail if no special case in normal… [all …]
|