Fix tests on 64-bit MSVC

This commit is contained in:
Victor Zverovich 2018-05-27 11:38:53 -07:00
parent 5c32aa411c
commit 4027557958

View File

@ -927,6 +927,6 @@ TEST(FPTest, GetCachedPower) {
EXPECT_LE(exp, fp.e);
int dec_exp_step = 8;
EXPECT_LE(fp.e, exp + dec_exp_step * log2(10));
EXPECT_EQ(pow(10, dec_exp), ldexp(fp.f, fp.e));
EXPECT_DOUBLE_EQ(pow(10, dec_exp), ldexp(fp.f, fp.e));
}
}