aboutsummaryrefslogtreecommitdiff
path: root/libc/test/src/math/fmaxl_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/math/fmaxl_test.cpp')
-rw-r--r--libc/test/src/math/fmaxl_test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/test/src/math/fmaxl_test.cpp b/libc/test/src/math/fmaxl_test.cpp
index ac62899d1a96..be9b0c830b14 100644
--- a/libc/test/src/math/fmaxl_test.cpp
+++ b/libc/test/src/math/fmaxl_test.cpp
@@ -14,9 +14,7 @@
using FPBits = __llvm_libc::fputil::FPBits<long double>;
-long double nan = FPBits::buildNaN(1);
-long double inf = FPBits::inf();
-long double negInf = FPBits::negInf();
+DECLARE_SPECIAL_CONSTANTS(long double)
TEST(FmaxlTest, NaNArg) {
EXPECT_FP_EQ(inf, __llvm_libc::fmaxl(nan, inf));