[libc-commits] [libc] 17ac454 - [libc][obvious] Use constants of type double in remquo_test.
Siva Chandra Reddy via libc-commits
libc-commits at lists.llvm.org
Thu Sep 3 22:27:03 PDT 2020
Author: Siva Chandra Reddy
Date: 2020-09-03T22:26:25-07:00
New Revision: 17ac4543d427c5981e7f0313cba180b1d6c90c50
URL: https://github.com/llvm/llvm-project/commit/17ac4543d427c5981e7f0313cba180b1d6c90c50
DIFF: https://github.com/llvm/llvm-project/commit/17ac4543d427c5981e7f0313cba180b1d6c90c50.diff
LOG: [libc][obvious] Use constants of type double in remquo_test.
Added:
Modified:
libc/test/src/math/remquo_test.cpp
Removed:
################################################################################
diff --git a/libc/test/src/math/remquo_test.cpp b/libc/test/src/math/remquo_test.cpp
index 4ea61dddf26c..0ebbed7224b2 100644
--- a/libc/test/src/math/remquo_test.cpp
+++ b/libc/test/src/math/remquo_test.cpp
@@ -19,11 +19,11 @@ using UIntType = FPBits::UIntType;
namespace mpfr = __llvm_libc::testing::mpfr;
-static const float zero = FPBits::zero();
-static const float negZero = FPBits::negZero();
-static const float nan = FPBits::buildNaN(1);
-static const float inf = FPBits::inf();
-static const float negInf = FPBits::negInf();
+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();
TEST(RemquoTest, SpecialNumbers) {
int exponent;
More information about the libc-commits
mailing list