Qualify calls to some functions from <cmath>.

PiperOrigin-RevId: 240585547
This commit is contained in:
A. Unique TensorFlower 2019-03-27 10:06:10 -07:00 committed by TensorFlower Gardener
parent 56c49dae90
commit 743a9f3780

View File

@ -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));
} }
} }
} }