Commit 40275579 authored by Victor Zverovich's avatar Victor Zverovich

Fix tests on 64-bit MSVC

parent 5c32aa41
......@@ -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));
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment