mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Merge pull request #167 from deadalnix/smallest_power_of_ten
Change smallest_power_of_ten to -64 for floats.
This commit is contained in:
commit
c8b3ca0d12
@ -564,7 +564,7 @@ inline constexpr int binary_format<double>::smallest_power_of_ten() {
|
||||
}
|
||||
template <>
|
||||
inline constexpr int binary_format<float>::smallest_power_of_ten() {
|
||||
return -65;
|
||||
return -64;
|
||||
}
|
||||
|
||||
template <> inline constexpr size_t binary_format<double>::max_digits() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user