mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-13 15:10:03 +08:00
Fix tests on 64-bit MSVC
This commit is contained in:
parent
5c32aa411c
commit
4027557958
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user