mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
additional fix for bfloat16_t. Sorry, I can't compile it's locally.
This commit is contained in:
parent
7bac32408e
commit
a550415314
@ -232,8 +232,7 @@ using parse_options = parse_options_t<char>;
|
|||||||
|
|
||||||
namespace fast_float {
|
namespace fast_float {
|
||||||
|
|
||||||
fastfloat_really_inline FASTFLOAT_CONSTEXPR20 bool
|
fastfloat_really_inline constexpr bool cpp20_and_in_constexpr() noexcept {
|
||||||
cpp20_and_in_constexpr() noexcept {
|
|
||||||
#if FASTFLOAT_HAS_IS_CONSTANT_EVALUATED
|
#if FASTFLOAT_HAS_IS_CONSTANT_EVALUATED
|
||||||
return std::is_constant_evaluated();
|
return std::is_constant_evaluated();
|
||||||
#else
|
#else
|
||||||
@ -922,7 +921,7 @@ binary_format<std::bfloat16_t>::smallest_power_of_ten() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
inline constexpr uint16_t binary_format<std::bfloat16_t>::max_digits() {
|
inline constexpr am_digits binary_format<std::bfloat16_t>::max_digits() {
|
||||||
return 98;
|
return 98;
|
||||||
}
|
}
|
||||||
#endif // __STDCPP_BFLOAT16_T__
|
#endif // __STDCPP_BFLOAT16_T__
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user