|
@@ -654,6 +654,7 @@ using ::double_t;
|
|
|
|
|
|
// abs
|
|
// abs
|
|
|
|
|
|
|
|
+#if !defined(_AIX)
|
|
inline _LIBCPP_INLINE_VISIBILITY
|
|
inline _LIBCPP_INLINE_VISIBILITY
|
|
float
|
|
float
|
|
abs(float __x) _NOEXCEPT {return fabsf(__x);}
|
|
abs(float __x) _NOEXCEPT {return fabsf(__x);}
|
|
@@ -665,6 +666,7 @@ abs(double __x) _NOEXCEPT {return fabs(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY
|
|
inline _LIBCPP_INLINE_VISIBILITY
|
|
long double
|
|
long double
|
|
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
|
|
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
|
|
|
|
+#endif // !defined(_AIX)
|
|
|
|
|
|
#ifndef __sun__
|
|
#ifndef __sun__
|
|
|
|
|
|
@@ -673,7 +675,7 @@ abs(long double __x) _NOEXCEPT {return fabsl(__x);}
|
|
using ::acos;
|
|
using ::acos;
|
|
using ::acosf;
|
|
using ::acosf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float acos(float __x) _NOEXCEPT {return acosf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float acos(float __x) _NOEXCEPT {return acosf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __x) _NOEXCEPT {return acosl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __x) _NOEXCEPT {return acosl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -688,7 +690,7 @@ acos(_A1 __x) _NOEXCEPT {return acos((double)__x);}
|
|
using ::asin;
|
|
using ::asin;
|
|
using ::asinf;
|
|
using ::asinf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float asin(float __x) _NOEXCEPT {return asinf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float asin(float __x) _NOEXCEPT {return asinf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double asin(long double __x) _NOEXCEPT {return asinl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double asin(long double __x) _NOEXCEPT {return asinl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -703,7 +705,7 @@ asin(_A1 __x) _NOEXCEPT {return asin((double)__x);}
|
|
using ::atan;
|
|
using ::atan;
|
|
using ::atanf;
|
|
using ::atanf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float atan(float __x) _NOEXCEPT {return atanf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float atan(float __x) _NOEXCEPT {return atanf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __x) _NOEXCEPT {return atanl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __x) _NOEXCEPT {return atanl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -718,7 +720,7 @@ atan(_A1 __x) _NOEXCEPT {return atan((double)__x);}
|
|
using ::atan2;
|
|
using ::atan2;
|
|
using ::atan2f;
|
|
using ::atan2f;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float atan2(float __y, float __x) _NOEXCEPT {return atan2f(__y, __x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float atan2(float __y, float __x) _NOEXCEPT {return atan2f(__y, __x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double atan2(long double __y, long double __x) _NOEXCEPT {return atan2l(__y, __x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double atan2(long double __y, long double __x) _NOEXCEPT {return atan2l(__y, __x);}
|
|
#endif
|
|
#endif
|
|
@@ -744,7 +746,7 @@ atan2(_A1 __y, _A2 __x) _NOEXCEPT
|
|
using ::ceil;
|
|
using ::ceil;
|
|
using ::ceilf;
|
|
using ::ceilf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float ceil(float __x) _NOEXCEPT {return ceilf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float ceil(float __x) _NOEXCEPT {return ceilf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double ceil(long double __x) _NOEXCEPT {return ceill(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double ceil(long double __x) _NOEXCEPT {return ceill(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -759,7 +761,7 @@ ceil(_A1 __x) _NOEXCEPT {return ceil((double)__x);}
|
|
using ::cos;
|
|
using ::cos;
|
|
using ::cosf;
|
|
using ::cosf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float cos(float __x) _NOEXCEPT {return cosf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float cos(float __x) _NOEXCEPT {return cosf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double cos(long double __x) _NOEXCEPT {return cosl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double cos(long double __x) _NOEXCEPT {return cosl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -774,7 +776,7 @@ cos(_A1 __x) _NOEXCEPT {return cos((double)__x);}
|
|
using ::cosh;
|
|
using ::cosh;
|
|
using ::coshf;
|
|
using ::coshf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float cosh(float __x) _NOEXCEPT {return coshf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float cosh(float __x) _NOEXCEPT {return coshf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double cosh(long double __x) _NOEXCEPT {return coshl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double cosh(long double __x) _NOEXCEPT {return coshl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -792,7 +794,7 @@ using ::expf;
|
|
|
|
|
|
#ifndef __sun__
|
|
#ifndef __sun__
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float exp(float __x) _NOEXCEPT {return expf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float exp(float __x) _NOEXCEPT {return expf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double exp(long double __x) _NOEXCEPT {return expl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double exp(long double __x) _NOEXCEPT {return expl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -808,7 +810,7 @@ exp(_A1 __x) _NOEXCEPT {return exp((double)__x);}
|
|
using ::fabs;
|
|
using ::fabs;
|
|
using ::fabsf;
|
|
using ::fabsf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float fabs(float __x) _NOEXCEPT {return fabsf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float fabs(float __x) _NOEXCEPT {return fabsf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double fabs(long double __x) _NOEXCEPT {return fabsl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double fabs(long double __x) _NOEXCEPT {return fabsl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -823,7 +825,7 @@ fabs(_A1 __x) _NOEXCEPT {return fabs((double)__x);}
|
|
using ::floor;
|
|
using ::floor;
|
|
using ::floorf;
|
|
using ::floorf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float floor(float __x) _NOEXCEPT {return floorf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float floor(float __x) _NOEXCEPT {return floorf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double floor(long double __x) _NOEXCEPT {return floorl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double floor(long double __x) _NOEXCEPT {return floorl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -840,7 +842,7 @@ using ::fmod;
|
|
using ::fmodf;
|
|
using ::fmodf;
|
|
#ifndef __sun__
|
|
#ifndef __sun__
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float fmod(float __x, float __y) _NOEXCEPT {return fmodf(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float fmod(float __x, float __y) _NOEXCEPT {return fmodf(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double fmod(long double __x, long double __y) _NOEXCEPT {return fmodl(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double fmod(long double __x, long double __y) _NOEXCEPT {return fmodl(__x, __y);}
|
|
#endif
|
|
#endif
|
|
@@ -867,7 +869,7 @@ fmod(_A1 __x, _A2 __y) _NOEXCEPT
|
|
using ::frexp;
|
|
using ::frexp;
|
|
using ::frexpf;
|
|
using ::frexpf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float frexp(float __x, int* __e) _NOEXCEPT {return frexpf(__x, __e);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float frexp(float __x, int* __e) _NOEXCEPT {return frexpf(__x, __e);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double frexp(long double __x, int* __e) _NOEXCEPT {return frexpl(__x, __e);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double frexp(long double __x, int* __e) _NOEXCEPT {return frexpl(__x, __e);}
|
|
#endif
|
|
#endif
|
|
@@ -882,7 +884,7 @@ frexp(_A1 __x, int* __e) _NOEXCEPT {return frexp((double)__x, __e);}
|
|
using ::ldexp;
|
|
using ::ldexp;
|
|
using ::ldexpf;
|
|
using ::ldexpf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float ldexp(float __x, int __e) _NOEXCEPT {return ldexpf(__x, __e);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float ldexp(float __x, int __e) _NOEXCEPT {return ldexpf(__x, __e);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double ldexp(long double __x, int __e) _NOEXCEPT {return ldexpl(__x, __e);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double ldexp(long double __x, int __e) _NOEXCEPT {return ldexpl(__x, __e);}
|
|
#endif
|
|
#endif
|
|
@@ -899,7 +901,7 @@ using ::log;
|
|
using ::logf;
|
|
using ::logf;
|
|
#ifndef __sun__
|
|
#ifndef __sun__
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float log(float __x) _NOEXCEPT {return logf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float log(float __x) _NOEXCEPT {return logf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double log(long double __x) _NOEXCEPT {return logl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double log(long double __x) _NOEXCEPT {return logl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -915,7 +917,7 @@ log(_A1 __x) _NOEXCEPT {return log((double)__x);}
|
|
using ::log10;
|
|
using ::log10;
|
|
using ::log10f;
|
|
using ::log10f;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float log10(float __x) _NOEXCEPT {return log10f(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float log10(float __x) _NOEXCEPT {return log10f(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double log10(long double __x) _NOEXCEPT {return log10l(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double log10(long double __x) _NOEXCEPT {return log10l(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -930,7 +932,7 @@ log10(_A1 __x) _NOEXCEPT {return log10((double)__x);}
|
|
using ::modf;
|
|
using ::modf;
|
|
using ::modff;
|
|
using ::modff;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float modf(float __x, float* __y) _NOEXCEPT {return modff(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float modf(float __x, float* __y) _NOEXCEPT {return modff(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double modf(long double __x, long double* __y) _NOEXCEPT {return modfl(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double modf(long double __x, long double* __y) _NOEXCEPT {return modfl(__x, __y);}
|
|
#endif
|
|
#endif
|
|
@@ -943,7 +945,7 @@ using ::powf;
|
|
|
|
|
|
#ifndef __sun__
|
|
#ifndef __sun__
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y) _NOEXCEPT {return powf(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y) _NOEXCEPT {return powf(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double __y) _NOEXCEPT {return powl(__x, __y);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long double __y) _NOEXCEPT {return powl(__x, __y);}
|
|
#endif
|
|
#endif
|
|
@@ -970,7 +972,7 @@ pow(_A1 __x, _A2 __y) _NOEXCEPT
|
|
using ::sin;
|
|
using ::sin;
|
|
using ::sinf;
|
|
using ::sinf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float sin(float __x) _NOEXCEPT {return sinf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float sin(float __x) _NOEXCEPT {return sinf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double sin(long double __x) _NOEXCEPT {return sinl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double sin(long double __x) _NOEXCEPT {return sinl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -985,7 +987,7 @@ sin(_A1 __x) _NOEXCEPT {return sin((double)__x);}
|
|
using ::sinh;
|
|
using ::sinh;
|
|
using ::sinhf;
|
|
using ::sinhf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float sinh(float __x) _NOEXCEPT {return sinhf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float sinh(float __x) _NOEXCEPT {return sinhf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double sinh(long double __x) _NOEXCEPT {return sinhl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double sinh(long double __x) _NOEXCEPT {return sinhl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -1002,7 +1004,7 @@ using ::sqrt;
|
|
using ::sqrtf;
|
|
using ::sqrtf;
|
|
|
|
|
|
|
|
|
|
-#if !(defined(_LIBCPP_MSVCRT) || defined(__sun__))
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(__sun__) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float sqrt(float __x) _NOEXCEPT {return sqrtf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float sqrt(float __x) _NOEXCEPT {return sqrtf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double sqrt(long double __x) _NOEXCEPT {return sqrtl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double sqrt(long double __x) _NOEXCEPT {return sqrtl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -1018,7 +1020,7 @@ using ::tan;
|
|
using ::tanf;
|
|
using ::tanf;
|
|
#ifndef __sun__
|
|
#ifndef __sun__
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float tan(float __x) _NOEXCEPT {return tanf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float tan(float __x) _NOEXCEPT {return tanf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double tan(long double __x) _NOEXCEPT {return tanl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double tan(long double __x) _NOEXCEPT {return tanl(__x);}
|
|
#endif
|
|
#endif
|
|
@@ -1033,7 +1035,7 @@ tan(_A1 __x) _NOEXCEPT {return tan((double)__x);}
|
|
using ::tanh;
|
|
using ::tanh;
|
|
using ::tanhf;
|
|
using ::tanhf;
|
|
|
|
|
|
-#ifndef _LIBCPP_MSVCRT
|
|
|
|
|
|
+#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
|
|
inline _LIBCPP_INLINE_VISIBILITY float tanh(float __x) _NOEXCEPT {return tanhf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY float tanh(float __x) _NOEXCEPT {return tanhf(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double tanh(long double __x) _NOEXCEPT {return tanhl(__x);}
|
|
inline _LIBCPP_INLINE_VISIBILITY long double tanh(long double __x) _NOEXCEPT {return tanhl(__x);}
|
|
#endif
|
|
#endif
|