diff options
Diffstat (limited to 'libstdc++-v3/include/c_std/std_cmath.h')
-rw-r--r-- | libstdc++-v3/include/c_std/std_cmath.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/c_std/std_cmath.h b/libstdc++-v3/include/c_std/std_cmath.h index 5aefe0ff8ac..1dd6c732ab1 100644 --- a/libstdc++-v3/include/c_std/std_cmath.h +++ b/libstdc++-v3/include/c_std/std_cmath.h @@ -350,15 +350,15 @@ namespace std inline double pow(double __x, int __i) - { return __pow_helper(__x, __i); } + { return __builtin_powi(__x, __i); } inline float pow(float __x, int __n) - { return __pow_helper(__x, __n); } + { return __builtin_powif(__x, __n); } inline long double pow(long double __x, int __n) - { return __pow_helper(__x, __n); } + { return __builtin_powil(__x, __n); } using ::sin; |