Add support for 96-bit long double

This commit is contained in:
Victor Zverovich
2022-02-18 17:59:02 -08:00
parent 2c8cd2db34
commit a0b43bfae2
4 changed files with 36 additions and 38 deletions
-10
View File
@@ -340,16 +340,6 @@ TEST(format_impl_test, count_digits) {
test_count_digits<uint64_t>();
}
TEST(format_impl_test, write_uintptr_fallback) {
std::string s;
fmt::detail::write_ptr<char>(
std::back_inserter(s),
fmt::detail::to_uintptr<fmt::detail::uint128_fallback>(
reinterpret_cast<void*>(0xface)),
nullptr);
EXPECT_EQ(s, "0xface");
}
#ifdef _WIN32
# include <windows.h>
#endif