mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
.
This commit is contained in:
parent
ed871096ad
commit
91e6c4d440
@ -1169,7 +1169,7 @@ fastfloat_really_inline constexpr uint8_t max_digits_u64(uint8_t base) {
|
|||||||
|
|
||||||
// If a u64 is exactly max_digits_u64() in length, this is
|
// If a u64 is exactly max_digits_u64() in length, this is
|
||||||
// the value below which it has definitely overflowed.
|
// the value below which it has definitely overflowed.
|
||||||
fastfloat_really_inline constexpr uint8_t min_safe_u64(uint8_t base) {
|
fastfloat_really_inline constexpr uint64_t min_safe_u64(uint8_t base) {
|
||||||
return int_luts<>::min_safe_u64[base - 2];
|
return int_luts<>::min_safe_u64[base - 2];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user