summaryrefslogtreecommitdiffstats
path: root/modules/fdlibm/src/e_pow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fdlibm/src/e_pow.cpp')
-rw-r--r--modules/fdlibm/src/e_pow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/fdlibm/src/e_pow.cpp b/modules/fdlibm/src/e_pow.cpp
index 366e3933b..7f22afce8 100644
--- a/modules/fdlibm/src/e_pow.cpp
+++ b/modules/fdlibm/src/e_pow.cpp
@@ -57,6 +57,8 @@
* to produce the hexadecimal values shown.
*/
+#include <cmath>
+
#include "math_private.h"
static const double
@@ -152,7 +154,7 @@ __ieee754_pow(double x, double y)
if(hy==0x40000000) return x*x; /* y is 2 */
if(hy==0x3fe00000) { /* y is 0.5 */
if(hx>=0) /* x >= +0 */
- return sqrt(x);
+ return std::sqrt(x);
}
}