diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-03-14 23:11:28 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-03-14 23:11:28 +0000 |
commit | fa99425667e4e12f453ed791f1638154a9195609 (patch) | |
tree | 6f2362bc68df68511a990aa492e966d10f871e68 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 6257b93e698f72b962d63614d03cc1df81545872 (diff) | |
download | bcm5719-llvm-fa99425667e4e12f453ed791f1638154a9195609.tar.gz bcm5719-llvm-fa99425667e4e12f453ed791f1638154a9195609.zip |
MathExtrasTest.cpp: Use EXPECT_DOUBLE_EQ here, instead of EXPECT_FLOAT_EQ.
llvm-svn: 263508
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
-rw-r--r-- | llvm/unittests/Support/MathExtrasTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/MathExtrasTest.cpp b/llvm/unittests/Support/MathExtrasTest.cpp index af37a65e42a..042f640ba84 100644 --- a/llvm/unittests/Support/MathExtrasTest.cpp +++ b/llvm/unittests/Support/MathExtrasTest.cpp @@ -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) { |