summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-03-14 23:11:28 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-03-14 23:11:28 +0000
commitfa99425667e4e12f453ed791f1638154a9195609 (patch)
tree6f2362bc68df68511a990aa492e966d10f871e68 /llvm/unittests/Support/MathExtrasTest.cpp
parent6257b93e698f72b962d63614d03cc1df81545872 (diff)
downloadbcm5719-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.cpp2
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) {
OpenPOWER on IntegriCloud