forked from OSchip/llvm-project
MathExtrasTest.cpp: Use EXPECT_DOUBLE_EQ here, instead of EXPECT_FLOAT_EQ.
llvm-svn: 263508
This commit is contained in:
parent
6257b93e69
commit
fa99425667
|
@ -163,7 +163,7 @@ TEST(MathExtras, FloatBits) {
|
||||||
|
|
||||||
TEST(MathExtras, DoubleBits) {
|
TEST(MathExtras, DoubleBits) {
|
||||||
static const double kValue = 87987234.983498;
|
static const double kValue = 87987234.983498;
|
||||||
EXPECT_FLOAT_EQ(kValue, BitsToDouble(DoubleToBits(kValue)));
|
EXPECT_DOUBLE_EQ(kValue, BitsToDouble(DoubleToBits(kValue)));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(MathExtras, MinAlign) {
|
TEST(MathExtras, MinAlign) {
|
||||||
|
|
Loading…
Reference in New Issue