11 #ifndef __SYS_FastMath__
12 #define __SYS_FastMath__
16 namespace SYS_FastMath
19 static inline double ldexp(
double x,
int exp) {
return __builtin_ldexp(x, exp); }
20 static inline float ldexpf(
float x,
int exp) {
return __builtin_ldexpf(x, exp); }
22 static inline double fabs(
double x) {
return __builtin_fabs(x); }
23 static inline float fabsf(
float x) {
return __builtin_fabsf(x); }
25 static inline double sqrt(
double x) {
return __builtin_sqrt(x); }
26 static inline float sqrtf(
float x) {
return __builtin_sqrtf(x); }
102 #endif // __SYS_FastMath__
SYS_API float acosf(float x)
SYS_API double asinh(double x)
SYS_API double cos(double x)
SYS_API float coshf(float x)
SYS_API double fmod(double x, double y)
SYS_API double atan2(double y, double x)
SYS_API double expm1(double x)
SYS_API float expf(float x)
SYS_API float log1pf(float x)
SYS_API void sincos(double x, double *s, double *c)
vfloat4 sqrt(const vfloat4 &a)
SYS_API float atan2f(float y, float x)
SYS_API float powf(float x, float y)
SYS_API float truncf(float x)
SYS_API double log10(double x)
SYS_API double pow(double x, double y)
SYS_API float sinf(float x)
SYS_API float log10f(float x)
SYS_API float hypotf(float x, float y)
SYS_API double log(double x)
SYS_API float acoshf(float x)
SYS_API double asin(double x)
SYS_API double acosh(double x)
SYS_API double sinh(double x)
SYS_API double copysign(double x, double y)
SYS_API float atanf(float x)
SYS_API double cosh(double x)
SYS_API void sincosf(float x, float *s, float *c)
SYS_API double exp(double x)
SYS_API float logf(float x)
SYS_API double acos(double x)
SYS_API double trunc(double x)
SYS_API double hypot(double x, double y)
SYS_API double log1p(double x)
SYS_API double tanh(double x)
SYS_API double tan(double x)
SYS_API float fmodf(float x, float y)
SYS_API float sinhf(float x)
SYS_API float copysignf(float x, float y)
SYS_API double atan(double x)
SYS_API float asinhf(float x)
SYS_API float asinf(float x)
SYS_API float expm1f(float x)
SYS_API float tanf(float x)
SYS_API double atanh(double x)
SYS_API float tanhf(float x)
SYS_API float cosf(float x)
SYS_API double sin(double x)
SYS_API float atanhf(float x)