mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-11-09 14:49:59 +08:00
typo fixed.
This commit is contained in:
parent
0c20204350
commit
73f4d844a8
@ -946,9 +946,9 @@ inline constexpr std::float16_t
|
||||
binary_format<std::float16_t>::exact_power_of_ten(am_pow_t power) {
|
||||
#if defined(__clang__)
|
||||
// Work around clang bug https://godbolt.org/z/zedh7rrhc
|
||||
return (void)max_mantissa[0], max_mantissa[power];
|
||||
return (void)powers_of_ten[0], powers_of_ten[power];
|
||||
#else
|
||||
return max_mantissa[power];
|
||||
return powers_of_ten[power];
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -1086,9 +1086,9 @@ inline constexpr std::bfloat16_t
|
||||
binary_format<std::bfloat16_t>::exact_power_of_ten(am_pow_t power) {
|
||||
#if defined(__clang__)
|
||||
// Work around clang bug https://godbolt.org/z/zedh7rrhc
|
||||
return (void)max_mantissa[0], max_mantissa[power];
|
||||
return (void)powers_of_ten[0], powers_of_ten[power];
|
||||
#else
|
||||
return max_mantissa[power];
|
||||
return powers_of_ten[power];
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user