|
nsz |
866185 |
#include <math.h>
|
|
nsz |
866185 |
#define T(t) (t*)0;
|
|
nsz |
866185 |
#define C(n) switch(n){case n:;}
|
|
nsz |
866185 |
#define I(n) {int i = n;}
|
|
nsz |
866185 |
#define D(n) {double d = n;}
|
|
nsz |
866185 |
static void f()
|
|
nsz |
866185 |
{
|
|
nsz |
866185 |
T(float_t)
|
|
nsz |
866185 |
T(double_t)
|
|
nsz |
866185 |
I(fpclassify(.0))
|
|
nsz |
866185 |
I(isfinite(.0))
|
|
nsz |
866185 |
I(isgreater(.0,.0))
|
|
nsz |
866185 |
I(isgreaterequal(.0,.0))
|
|
nsz |
866185 |
I(isinf(.0))
|
|
nsz |
866185 |
I(isless(.0,.0))
|
|
nsz |
866185 |
I(islessequal(.0,.0))
|
|
nsz |
866185 |
I(islessgreater(.0,.0))
|
|
nsz |
866185 |
I(isnan(.0))
|
|
nsz |
866185 |
I(isnormal(.0))
|
|
nsz |
866185 |
I(isunordered(.0,.0))
|
|
nsz |
866185 |
I(signbit(.0))
|
|
nsz |
866185 |
#ifdef _XOPEN_SOURCE
|
|
nsz |
866185 |
I(signgam)
|
|
nsz |
866185 |
D(M_E)
|
|
nsz |
866185 |
D(M_LOG2E)
|
|
nsz |
866185 |
D(M_LOG10E)
|
|
nsz |
866185 |
D(M_LN2)
|
|
nsz |
866185 |
D(M_LN10)
|
|
nsz |
866185 |
D(M_PI)
|
|
nsz |
866185 |
D(M_PI_2)
|
|
nsz |
866185 |
D(M_PI_4)
|
|
nsz |
866185 |
D(M_1_PI)
|
|
nsz |
866185 |
D(M_2_PI)
|
|
nsz |
866185 |
D(M_2_SQRTPI)
|
|
nsz |
866185 |
D(M_SQRT2)
|
|
nsz |
866185 |
D(M_SQRT1_2)
|
|
nsz |
866185 |
D(MAXFLOAT)
|
|
nsz |
866185 |
#endif
|
|
nsz |
866185 |
D(HUGE_VAL)
|
|
nsz |
866185 |
D(HUGE_VALF)
|
|
nsz |
866185 |
D(HUGE_VALL)
|
|
nsz |
866185 |
D(INFINITY)
|
|
nsz |
866185 |
D(NAN)
|
|
nsz |
866185 |
C(FP_INFINITE)
|
|
nsz |
866185 |
C(FP_NAN)
|
|
nsz |
866185 |
C(FP_NORMAL)
|
|
nsz |
866185 |
C(FP_SUBNORMAL)
|
|
nsz |
866185 |
C(FP_ZERO)
|
|
nsz |
866185 |
C(FP_ILOGB0)
|
|
nsz |
866185 |
C(FP_ILOGBNAN)
|
|
nsz |
866185 |
C(MATH_ERRNO)
|
|
nsz |
866185 |
C(MATH_ERREXCEPT)
|
|
nsz |
866185 |
C(math_errhandling)
|
|
nsz |
0ef264 |
{double(*p)(double) = acos;}
|
|
nsz |
0ef264 |
{float(*p)(float) = acosf;}
|
|
nsz |
0ef264 |
{double(*p)(double) = acosh;}
|
|
nsz |
0ef264 |
{float(*p)(float) = acoshf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = acoshl;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = acosl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = asin;}
|
|
nsz |
0ef264 |
{float(*p)(float) = asinf;}
|
|
nsz |
0ef264 |
{double(*p)(double) = asinh;}
|
|
nsz |
0ef264 |
{float(*p)(float) = asinhf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = asinhl;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = asinl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = atan;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = atan2;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = atan2f;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = atan2l;}
|
|
nsz |
0ef264 |
{float(*p)(float) = atanf;}
|
|
nsz |
0ef264 |
{double(*p)(double) = atanh;}
|
|
nsz |
0ef264 |
{float(*p)(float) = atanhf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = atanhl;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = atanl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = cbrt;}
|
|
nsz |
0ef264 |
{float(*p)(float) = cbrtf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = cbrtl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = ceil;}
|
|
nsz |
0ef264 |
{float(*p)(float) = ceilf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = ceill;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = copysign;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = copysignf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = copysignl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = cos;}
|
|
nsz |
0ef264 |
{float(*p)(float) = cosf;}
|
|
nsz |
0ef264 |
{double(*p)(double) = cosh;}
|
|
nsz |
0ef264 |
{float(*p)(float) = coshf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = coshl;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = cosl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = erf;}
|
|
nsz |
0ef264 |
{double(*p)(double) = erfc;}
|
|
nsz |
0ef264 |
{float(*p)(float) = erfcf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = erfcl;}
|
|
nsz |
0ef264 |
{float(*p)(float) = erff;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = erfl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = exp;}
|
|
nsz |
0ef264 |
{double(*p)(double) = exp2;}
|
|
nsz |
0ef264 |
{float(*p)(float) = exp2f;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = exp2l;}
|
|
nsz |
0ef264 |
{float(*p)(float) = expf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = expl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = expm1;}
|
|
nsz |
0ef264 |
{float(*p)(float) = expm1f;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = expm1l;}
|
|
nsz |
0ef264 |
{double(*p)(double) = fabs;}
|
|
nsz |
0ef264 |
{float(*p)(float) = fabsf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = fabsl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = fdim;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = fdimf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = fdiml;}
|
|
nsz |
0ef264 |
{double(*p)(double) = floor;}
|
|
nsz |
0ef264 |
{float(*p)(float) = floorf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = floorl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double,double) = fma;}
|
|
nsz |
0ef264 |
{float(*p)(float,float,float) = fmaf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double,long double) = fmal;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = fmax;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = fmaxf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = fmaxl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = fmin;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = fminf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = fminl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = fmod;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = fmodf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = fmodl;}
|
|
nsz |
0ef264 |
{double(*p)(double,int*) = frexp;}
|
|
nsz |
0ef264 |
{float(*p)(float,int*) = frexpf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,int*) = frexpl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = hypot;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = hypotf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = hypotl;}
|
|
nsz |
0ef264 |
{int(*p)(double) = ilogb;}
|
|
nsz |
0ef264 |
{int(*p)(float) = ilogbf;}
|
|
nsz |
0ef264 |
{int(*p)(long double) = ilogbl;}
|
|
nsz |
866185 |
#ifdef _XOPEN_SOURCE
|
|
nsz |
0ef264 |
{double(*p)(double) = j0;}
|
|
nsz |
0ef264 |
{double(*p)(double) = j1;}
|
|
nsz |
0ef264 |
{double(*p)(int,double) = jn;}
|
|
nsz |
866185 |
#endif
|
|
nsz |
0ef264 |
{double(*p)(double,int) = ldexp;}
|
|
nsz |
0ef264 |
{float(*p)(float,int) = ldexpf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,int) = ldexpl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = lgamma;}
|
|
nsz |
0ef264 |
{float(*p)(float) = lgammaf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = lgammal;}
|
|
nsz |
0ef264 |
{long long(*p)(double) = llrint;}
|
|
nsz |
0ef264 |
{long long(*p)(float) = llrintf;}
|
|
nsz |
0ef264 |
{long long(*p)(long double) = llrintl;}
|
|
nsz |
0ef264 |
{long long(*p)(double) = llround;}
|
|
nsz |
0ef264 |
{long long(*p)(float) = llroundf;}
|
|
nsz |
0ef264 |
{long long(*p)(long double) = llroundl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = log;}
|
|
nsz |
0ef264 |
{double(*p)(double) = log10;}
|
|
nsz |
0ef264 |
{float(*p)(float) = log10f;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = log10l;}
|
|
nsz |
0ef264 |
{double(*p)(double) = log1p;}
|
|
nsz |
0ef264 |
{float(*p)(float) = log1pf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = log1pl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = log2;}
|
|
nsz |
0ef264 |
{float(*p)(float) = log2f;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = log2l;}
|
|
nsz |
0ef264 |
{double(*p)(double) = logb;}
|
|
nsz |
0ef264 |
{float(*p)(float) = logbf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = logbl;}
|
|
nsz |
0ef264 |
{float(*p)(float) = logf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = logl;}
|
|
nsz |
0ef264 |
{long(*p)(double) = lrint;}
|
|
nsz |
0ef264 |
{long(*p)(float) = lrintf;}
|
|
nsz |
0ef264 |
{long(*p)(long double) = lrintl;}
|
|
nsz |
0ef264 |
{long(*p)(double) = lround;}
|
|
nsz |
0ef264 |
{long(*p)(float) = lroundf;}
|
|
nsz |
0ef264 |
{long(*p)(long double) = lroundl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double*) = modf;}
|
|
nsz |
0ef264 |
{float(*p)(float,float*) = modff;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double*) = modfl;}
|
|
nsz |
0ef264 |
{double(*p)(const char*) = nan;}
|
|
nsz |
0ef264 |
{float(*p)(const char*) = nanf;}
|
|
nsz |
0ef264 |
{long double(*p)(const char*) = nanl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = nearbyint;}
|
|
nsz |
0ef264 |
{float(*p)(float) = nearbyintf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = nearbyintl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = nextafter;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = nextafterf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = nextafterl;}
|
|
nsz |
0ef264 |
{double(*p)(double,long double) = nexttoward;}
|
|
nsz |
0ef264 |
{float(*p)(float,long double) = nexttowardf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = nexttowardl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = pow;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = powf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = powl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double) = remainder;}
|
|
nsz |
0ef264 |
{float(*p)(float,float) = remainderf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double) = remainderl;}
|
|
nsz |
0ef264 |
{double(*p)(double,double,int*) = remquo;}
|
|
nsz |
0ef264 |
{float(*p)(float,float,int*) = remquof;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long double,int*) = remquol;}
|
|
nsz |
0ef264 |
{double(*p)(double) = rint;}
|
|
nsz |
0ef264 |
{float(*p)(float) = rintf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = rintl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = round;}
|
|
nsz |
0ef264 |
{float(*p)(float) = roundf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = roundl;}
|
|
nsz |
0ef264 |
{double(*p)(double,long) = scalbln;}
|
|
nsz |
0ef264 |
{float(*p)(float,long) = scalblnf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,long) = scalblnl;}
|
|
nsz |
0ef264 |
{double(*p)(double,int) = scalbn;}
|
|
nsz |
0ef264 |
{float(*p)(float,int) = scalbnf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double,int) = scalbnl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = sin;}
|
|
nsz |
0ef264 |
{float(*p)(float) = sinf;}
|
|
nsz |
0ef264 |
{double(*p)(double) = sinh;}
|
|
nsz |
0ef264 |
{float(*p)(float) = sinhf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = sinhl;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = sinl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = sqrt;}
|
|
nsz |
0ef264 |
{float(*p)(float) = sqrtf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = sqrtl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = tan;}
|
|
nsz |
0ef264 |
{float(*p)(float) = tanf;}
|
|
nsz |
0ef264 |
{double(*p)(double) = tanh;}
|
|
nsz |
0ef264 |
{float(*p)(float) = tanhf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = tanhl;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = tanl;}
|
|
nsz |
0ef264 |
{double(*p)(double) = tgamma;}
|
|
nsz |
0ef264 |
{float(*p)(float) = tgammaf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = tgammal;}
|
|
nsz |
0ef264 |
{double(*p)(double) = trunc;}
|
|
nsz |
0ef264 |
{float(*p)(float) = truncf;}
|
|
nsz |
0ef264 |
{long double(*p)(long double) = truncl;}
|
|
nsz |
866185 |
#ifdef _XOPEN_SOURCE
|
|
nsz |
0ef264 |
{double(*p)(double) = y0;}
|
|
nsz |
0ef264 |
{double(*p)(double) = y1;}
|
|
nsz |
0ef264 |
{double(*p)(int,double) = yn;}
|
|
nsz |
866185 |
#endif
|
|
nsz |
866185 |
}
|