mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
Rounded toward one, not zero.
This commit is contained in:
parent
022118e5d0
commit
48c017aa96
@ -30,7 +30,7 @@ namespace fast_float {
|
|||||||
*/
|
*/
|
||||||
constexpr int smallest_power_of_five = -342;
|
constexpr int smallest_power_of_five = -342;
|
||||||
constexpr int largest_power_of_five = 308;
|
constexpr int largest_power_of_five = 308;
|
||||||
// Powers of five from 5^-342 all the way to 5^308 rounded toward zero.
|
// Powers of five from 5^-342 all the way to 5^308 rounded toward one.
|
||||||
const uint64_t power_of_five_128[]= {
|
const uint64_t power_of_five_128[]= {
|
||||||
0xeef453d6923bd65a,0x113faa2906a13b3f,
|
0xeef453d6923bd65a,0x113faa2906a13b3f,
|
||||||
0x9558b4661b6565f8,0x4ac7ca59a424c507,
|
0x9558b4661b6565f8,0x4ac7ca59a424c507,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user