Searched refs:make_double (Results 1 – 1 of 1) sorted by relevance
/third_party/json/test/src/ |
D | unit-to_chars.cpp | 93 static double make_double(uint64_t sign_bit, uint64_t biased_exponent, uint64_t significand) in make_double() function 109 static double make_double(uint64_t f, int e) in make_double() function 229 … check_double(make_double(0, 0, 0x0000000000000001), "5", -324); // min denormal 230 … check_double(make_double(0, 0, 0x000FFFFFFFFFFFFF), "2225073858507201", -323); // max denormal 231 … check_double(make_double(0, 1, 0x0000000000000000), "22250738585072014", -324); // min normal 232 check_double(make_double(0, 1, 0x0000000000000001), "2225073858507202", -323); 233 check_double(make_double(0, 1, 0x000FFFFFFFFFFFFF), "44501477170144023", -324); 234 check_double(make_double(0, 2, 0x0000000000000000), "4450147717014403", -323); 235 check_double(make_double(0, 2, 0x0000000000000001), "4450147717014404", -323); 236 …check_double(make_double(0, 4, 0x0000000000000000), "17800590868057611", -323); // fail if no s… [all …]
|