Skip to content

Commit c8b3ca0

Browse files
authored
Merge pull request #167 from deadalnix/smallest_power_of_ten
Change smallest_power_of_ten to -64 for floats.
2 parents 1fc3ac3 + 5167a50 commit c8b3ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/float_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ inline constexpr int binary_format<double>::smallest_power_of_ten() {
564564
}
565565
template <>
566566
inline constexpr int binary_format<float>::smallest_power_of_ten() {
567-
return -65;
567+
return -64;
568568
}
569569

570570
template <> inline constexpr size_t binary_format<double>::max_digits() {

0 commit comments

Comments
 (0)