Qualify calls to some functions from <cmath>.
PiperOrigin-RevId: 240585547
This commit is contained in:
parent
56c49dae90
commit
743a9f3780
@ -252,7 +252,7 @@ void TestFloatIPow(const int max_exponent, const T start, const T end,
|
|||||||
const T step) {
|
const T step) {
|
||||||
for (T f = start; f < end; f += step) {
|
for (T f = start; f < end; f += step) {
|
||||||
for (int i = 0; i < max_exponent; ++i) {
|
for (int i = 0; i < max_exponent; ++i) {
|
||||||
EXPECT_FLOAT_EQ(MathUtil::IPow(f, i), pow(f, i));
|
EXPECT_FLOAT_EQ(MathUtil::IPow(f, i), std::pow(f, i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user