Use FMT_USE_FLOAT128 instead of __SIZEOF_FLOAT128__

This commit is contained in:
Victor Zverovich 2022-07-10 08:47:16 -07:00
parent 2a1b3ac629
commit 05be7a0764

View File

@ -101,7 +101,7 @@ template <typename Float> void check_isfinite() {
TEST(float_test, isfinite) {
check_isfinite<double>();
#ifdef __SIZEOF_FLOAT128__
#if FMT_USE_FLOAT128
check_isfinite<fmt::detail::float128>();
#endif
}
@ -122,7 +122,7 @@ template <typename Float> void check_isnan() {
TEST(float_test, isnan) {
check_isnan<double>();
#ifdef __SIZEOF_FLOAT128__
#if FMT_USE_FLOAT128
check_isnan<fmt::detail::float128>();
#endif
}