mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Specialize float_info for __float128
This commit is contained in:
parent
f024565c3f
commit
71778e8b90
@ -1271,7 +1271,8 @@ template <> struct float_info<double> {
|
|||||||
// An 80- or 128-bit floating point number.
|
// An 80- or 128-bit floating point number.
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct float_info<T, enable_if_t<std::numeric_limits<T>::digits == 64 ||
|
struct float_info<T, enable_if_t<std::numeric_limits<T>::digits == 64 ||
|
||||||
std::numeric_limits<T>::digits == 113>> {
|
std::numeric_limits<T>::digits == 113 ||
|
||||||
|
is_float128<T>::value>> {
|
||||||
using carrier_uint = detail::uint128_t;
|
using carrier_uint = detail::uint128_t;
|
||||||
static const int exponent_bits = 15;
|
static const int exponent_bits = 15;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user