[llvm] r263508 - MathExtrasTest.cpp: Use EXPECT_DOUBLE_EQ here, instead of EXPECT_FLOAT_EQ.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 14 16:11:28 PDT 2016
Author: chapuni
Date: Mon Mar 14 18:11:28 2016
New Revision: 263508
URL: http://llvm.org/viewvc/llvm-project?rev=263508&view=rev
Log:
MathExtrasTest.cpp: Use EXPECT_DOUBLE_EQ here, instead of EXPECT_FLOAT_EQ.
Modified:
llvm/trunk/unittests/Support/MathExtrasTest.cpp
Modified: llvm/trunk/unittests/Support/MathExtrasTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/MathExtrasTest.cpp?rev=263508&r1=263507&r2=263508&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/MathExtrasTest.cpp (original)
+++ llvm/trunk/unittests/Support/MathExtrasTest.cpp Mon Mar 14 18:11:28 2016
@@ -163,7 +163,7 @@ TEST(MathExtras, FloatBits) {
TEST(MathExtras, DoubleBits) {
static const double kValue = 87987234.983498;
- EXPECT_FLOAT_EQ(kValue, BitsToDouble(DoubleToBits(kValue)));
+ EXPECT_DOUBLE_EQ(kValue, BitsToDouble(DoubleToBits(kValue)));
}
TEST(MathExtras, MinAlign) {
More information about the llvm-commits
mailing list