Fix write_uintptr_fallback

This commit is contained in:
Victor Zverovich
2024-01-10 06:52:12 -08:00
parent 725992928b
commit 401f087394
2 changed files with 3 additions and 4 deletions

View File

@@ -464,7 +464,7 @@ template <typename T> constexpr auto num_bits() -> int {
}
// std::numeric_limits<T>::digits may return 0 for 128-bit ints.
template <> constexpr auto num_bits<int128_opt>() -> int { return 128; }
template <> constexpr auto num_bits<uint128_t>() -> int { return 128; }
template <> constexpr auto num_bits<uint128_fallback>() -> int { return 128; }
// A heterogeneous bit_cast used for converting 96-bit long double to uint128_t
// and 128-bit pointers to uint128_fallback.