aboutsummaryrefslogtreecommitdiff
path: root/libc/test/src/math/ceil_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/math/ceil_test.cpp')
-rw-r--r--libc/test/src/math/ceil_test.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/test/src/math/ceil_test.cpp b/libc/test/src/math/ceil_test.cpp
index bed06d8c53bb..c42bdb99d45b 100644
--- a/libc/test/src/math/ceil_test.cpp
+++ b/libc/test/src/math/ceil_test.cpp
@@ -17,11 +17,7 @@ using FPBits = __llvm_libc::fputil::FPBits<double>;
namespace mpfr = __llvm_libc::testing::mpfr;
-static const double zero = FPBits::zero();
-static const double negZero = FPBits::negZero();
-static const double nan = FPBits::buildNaN(1);
-static const double inf = FPBits::inf();
-static const double negInf = FPBits::negInf();
+DECLARE_SPECIAL_CONSTANTS(double)
TEST(CeilTest, SpecialNumbers) {
EXPECT_FP_EQ(zero, __llvm_libc::ceil(zero));