Modular C
+ Collaboration diagram for C◼math:

Modules

 C◼math◼c: symbols inserted from C◼complex.
 
 C◼math◼ll: symbols inserted from C◼llong.
 
 C◼math◼rl: symbols inserted from C◼real◼ldouble.
 
 C◼math◼ul: symbols inserted from C◼ulong.
 
 C◼math◼ull: symbols inserted from C◼ullong.
 
 Specific macros to deal with the structure of module C◼math.
 

Macros

#define C◼math◼acos(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼acos, C◼real◼double◼acos, C◼real◼ldouble◼acos, C◼complex◼float◼acos, C◼complex◼double◼acos, C◼complex◼ldouble◼acos)
 
#define C◼math◼acosh(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼acosh, C◼real◼double◼acosh, C◼real◼ldouble◼acosh, C◼complex◼float◼acosh, C◼complex◼double◼acosh, C◼complex◼ldouble◼acosh)
 
#define C◼math◼asin(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼asin, C◼real◼double◼asin, C◼real◼ldouble◼asin, C◼complex◼float◼asin, C◼complex◼double◼asin, C◼complex◼ldouble◼asin)
 
#define C◼math◼asinh(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼asinh, C◼real◼double◼asinh, C◼real◼ldouble◼asinh, C◼complex◼float◼asinh, C◼complex◼double◼asinh, C◼complex◼ldouble◼asinh)
 
#define C◼math◼atan(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼atan, C◼real◼double◼atan, C◼real◼ldouble◼atan, C◼complex◼float◼atan, C◼complex◼double◼atan, C◼complex◼ldouble◼atan)
 
#define C◼math◼atanh(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼atanh, C◼real◼double◼atanh, C◼real◼ldouble◼atanh, C◼complex◼float◼atanh, C◼complex◼double◼atanh, C◼complex◼ldouble◼atanh)
 
#define C◼math◼cos(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼cos, C◼real◼double◼cos, C◼real◼ldouble◼cos, C◼complex◼float◼cos, C◼complex◼double◼cos, C◼complex◼ldouble◼cos)
 
#define C◼math◼cosh(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼cosh, C◼real◼double◼cosh, C◼real◼ldouble◼cosh, C◼complex◼float◼cosh, C◼complex◼double◼cosh, C◼complex◼ldouble◼cosh)
 
#define C◼math◼exp(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼exp, C◼real◼double◼exp, C◼real◼ldouble◼exp, C◼complex◼float◼exp, C◼complex◼double◼exp, C◼complex◼ldouble◼exp)
 
#define C◼math◼fma(X, Y, Z)   _Intern◼_KFLVLdcy◼C◼math◼TGC3((X), (Y), (Z), C◼real◼float◼fma, C◼real◼double◼fma, C◼real◼ldouble◼fma, C◼complex◼float◼fma, C◼complex◼double◼fma, C◼complex◼ldouble◼fma)
 
#define C◼math◼fma—fast(X, Y, Z)   _Intern◼_KFLVLdcy◼C◼math◼TGC3((X), (Y), (Z), C◼real◼float◼fma—fast, C◼real◼double◼fma—fast, C◼real◼ldouble◼fma—fast, C◼complex◼float◼fma—fast, C◼complex◼double◼fma—fast, C◼complex◼ldouble◼fma—fast)
 
#define C◼math◼log(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼log, C◼real◼double◼log, C◼real◼ldouble◼log, C◼complex◼float◼log, C◼complex◼double◼log, C◼complex◼ldouble◼log)
 
#define C◼math◼sin(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼sin, C◼real◼double◼sin, C◼real◼ldouble◼sin, C◼complex◼float◼sin, C◼complex◼double◼sin, C◼complex◼ldouble◼sin)
 
#define C◼math◼sinh(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼sinh, C◼real◼double◼sinh, C◼real◼ldouble◼sinh, C◼complex◼float◼sinh, C◼complex◼double◼sinh, C◼complex◼ldouble◼sinh)
 
#define C◼math◼sqrt(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼sqrt, C◼real◼double◼sqrt, C◼real◼ldouble◼sqrt, C◼complex◼float◼sqrt, C◼complex◼double◼sqrt, C◼complex◼ldouble◼sqrt)
 
#define C◼math◼tan(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼tan, C◼real◼double◼tan, C◼real◼ldouble◼tan, C◼complex◼float◼tan, C◼complex◼double◼tan, C◼complex◼ldouble◼tan)
 
#define C◼math◼tanh(X)   _Intern◼_KFLVLdcy◼C◼math◼TGC1((X), C◼real◼float◼tanh, C◼real◼double◼tanh, C◼real◼ldouble◼tanh, C◼complex◼float◼tanh, C◼complex◼double◼tanh, C◼complex◼ldouble◼tanh)
 
#define C◼math◼pow(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGC2((X), (Y), C◼real◼float◼pow, C◼real◼double◼pow, C◼real◼ldouble◼pow, C◼complex◼float◼pow, C◼complex◼double◼pow, C◼complex◼ldouble◼pow)
 
#define C◼math◼atan2(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼atan2, C◼real◼double◼atan2, C◼real◼ldouble◼atan2)
 
#define C◼math◼cbrt(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼cbrt, C◼real◼double◼cbrt, C◼real◼ldouble◼cbrt)
 
#define C◼math◼ceil(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼ceil, C◼real◼double◼ceil, C◼real◼ldouble◼ceil)
 
#define C◼math◼copysign(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼copysign, C◼real◼double◼copysign, C◼real◼ldouble◼copysign)
 
#define C◼math◼erf(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼erf, C◼real◼double◼erf, C◼real◼ldouble◼erf)
 
#define C◼math◼erfc(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼erfc, C◼real◼double◼erfc, C◼real◼ldouble◼erfc)
 
#define C◼math◼exp2(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼exp2, C◼real◼double◼exp2, C◼real◼ldouble◼exp2)
 
#define C◼math◼expm1(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼expm1, C◼real◼double◼expm1, C◼real◼ldouble◼expm1)
 
#define C◼math◼fdim(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼fdim, C◼real◼double◼fdim, C◼real◼ldouble◼fdim)
 
#define C◼math◼floor(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼floor, C◼real◼double◼floor, C◼real◼ldouble◼floor)
 
#define C◼math◼fmax(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼fmax, C◼real◼double◼fmax, C◼real◼ldouble◼fmax)
 
#define C◼math◼fmin(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼fmin, C◼real◼double◼fmin, C◼real◼ldouble◼fmin)
 
#define C◼math◼fmod(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼fmod, C◼real◼double◼fmod, C◼real◼ldouble◼fmod)
 
#define C◼math◼frexp(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR12((X), (Y), C◼real◼float◼frexp, C◼real◼double◼frexp, C◼real◼ldouble◼frexp)
 
#define C◼math◼hypot(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼hypot, C◼real◼double◼hypot, C◼real◼ldouble◼hypot)
 
#define C◼math◼ilogb(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼ilogb, C◼real◼double◼ilogb, C◼real◼ldouble◼ilogb)
 
#define C◼math◼ldexp(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR12((X), (Y), C◼real◼float◼ldexp, C◼real◼double◼ldexp, C◼real◼ldouble◼ldexp)
 
#define C◼math◼lgamma(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼lgamma, C◼real◼double◼lgamma, C◼real◼ldouble◼lgamma)
 
#define C◼math◼llrint(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼llrint, C◼real◼double◼llrint, C◼real◼ldouble◼llrint)
 
#define C◼math◼llround(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼llround, C◼real◼double◼llround, C◼real◼ldouble◼llround)
 
#define C◼math◼log10(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼log10, C◼real◼double◼log10, C◼real◼ldouble◼log10)
 
#define C◼math◼log1p(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼log1p, C◼real◼double◼log1p, C◼real◼ldouble◼log1p)
 
#define C◼math◼log2(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼log2, C◼real◼double◼log2, C◼real◼ldouble◼log2)
 
#define C◼math◼logb(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼logb, C◼real◼double◼logb, C◼real◼ldouble◼logb)
 
#define C◼math◼lrint(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼lrint, C◼real◼double◼lrint, C◼real◼ldouble◼lrint)
 
#define C◼math◼lround(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼lround, C◼real◼double◼lround, C◼real◼ldouble◼lround)
 
#define C◼math◼nearbyint(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼nearbyint, C◼real◼double◼nearbyint, C◼real◼ldouble◼nearbyint)
 
#define C◼math◼nextafter(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼nextafter, C◼real◼double◼nextafter, C◼real◼ldouble◼nextafter)
 
#define C◼math◼nexttoward(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼nexttoward, C◼real◼double◼nexttoward, C◼real◼ldouble◼nexttoward)
 
#define C◼math◼remainder(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼remainder, C◼real◼double◼remainder, C◼real◼ldouble◼remainder)
 
#define C◼math◼remquo(X, Y, Z)   _Intern◼_KFLVLdcy◼C◼math◼TGR23((X), (Y), (Z), C◼real◼float◼remquo, C◼real◼double◼remquo, C◼real◼ldouble◼remquo)
 
#define C◼math◼rint(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼rint, C◼real◼double◼rint, C◼real◼ldouble◼rint)
 
#define C◼math◼round(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼round, C◼real◼double◼round, C◼real◼ldouble◼round)
 
#define C◼math◼scalbln(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR12((X), (Y), C◼real◼float◼scalbln, C◼real◼double◼scalbln, C◼real◼ldouble◼scalbln)
 
#define C◼math◼scalbn(X, Y)   _Intern◼_KFLVLdcy◼C◼math◼TGR12((X), (Y), C◼real◼float◼scalbn, C◼real◼double◼scalbn, C◼real◼ldouble◼scalbn)
 
#define C◼math◼tgamma(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼tgamma, C◼real◼double◼tgamma, C◼real◼ldouble◼tgamma)
 
#define C◼math◼trunc(X)   _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼trunc, C◼real◼double◼trunc, C◼real◼ldouble◼trunc)
 
#define C◼math◼cmplx(X, Y)   _Generic(((X)+(Y)), float: C◼complex◼float◼CMPLX((X), (Y)), long double: C◼complex◼ldouble◼CMPLX((X), (Y)), default: C◼complex◼double◼CMPLX((X), (Y)))
 a type generic macro for complex values More...
 
#define C◼math◼arg(Z)   _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼arg, long double C◼math◼complex: C◼complex◼ldouble◼arg, default: C◼complex◼double◼arg)(Z)
 
#define C◼math◼imag(Z)   _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼imag, long double C◼math◼complex: C◼complex◼ldouble◼imag, default: C◼complex◼double◼imag)(Z)
 
#define C◼math◼conj(Z)   _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼conj, long double C◼math◼complex: C◼complex◼ldouble◼conj, default: C◼complex◼double◼conj)(Z)
 
#define C◼math◼proj(Z)   _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼proj, long double C◼math◼complex: C◼complex◼ldouble◼proj, default: C◼complex◼double◼proj)(Z)
 
#define C◼math◼real(Z)   _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼real, long double C◼math◼complex: C◼complex◼ldouble◼real, default: C◼complex◼double◼real)(Z)
 
#define C◼math◼abs(X)   _Generic(+(X), C◼real◼float: C◼real◼float◼fabs, C◼real◼double: C◼real◼double◼fabs, C◼real◼ldouble: C◼real◼ldouble◼fabs, C◼complex◼float: C◼complex◼float◼abs, C◼complex◼double: C◼complex◼double◼abs, C◼complex◼ldouble: C◼complex◼ldouble◼abs, C◼unsigned: C◼unsigned◼abs, C◼ulong: C◼ulong◼abs, C◼ullong: C◼ullong◼abs, C◼int: C◼int◼abs, C◼long: C◼long◼abs, C◼llong: C◼llong◼abs)(X)
 Compute the absolute value of an arithmetic quantity. More...
 
#define C◼math◼minus(X)   _Generic(+(X), C◼real◼float: C◼real◼float◼minus, C◼real◼double: C◼real◼double◼minus, C◼real◼ldouble: C◼real◼ldouble◼minus, C◼complex◼float: C◼complex◼float◼minus, C◼complex◼double: C◼complex◼double◼minus, C◼complex◼ldouble: C◼complex◼ldouble◼minus, C◼unsigned: C◼unsigned◼minus, C◼ulong: C◼ulong◼minus, C◼ullong: C◼ullong◼minus, C◼int: C◼int◼minus, C◼long: C◼long◼minus, C◼llong: C◼llong◼minus)(X)
 
#define C◼math◼recip(X)   _Generic(+(X), C◼real◼float: C◼real◼float◼recip, C◼real◼double: C◼real◼double◼recip, C◼real◼ldouble: C◼real◼ldouble◼recip, C◼complex◼float: C◼complex◼float◼recip, C◼complex◼double: C◼complex◼double◼recip, C◼complex◼ldouble: C◼complex◼ldouble◼recip, C◼unsigned: C◼unsigned◼recip, C◼ulong: C◼ulong◼recip, C◼ullong: C◼ullong◼recip, C◼int: C◼int◼recip, C◼long: C◼long◼recip, C◼llong: C◼llong◼recip)(X)
 
#define C◼math◼square(X)   _Generic(+(X), C◼real◼float: C◼real◼float◼square, C◼real◼double: C◼real◼double◼square, C◼real◼ldouble: C◼real◼ldouble◼square, C◼complex◼float: C◼complex◼float◼square, C◼complex◼double: C◼complex◼double◼square, C◼complex◼ldouble: C◼complex◼ldouble◼square, C◼unsigned: C◼unsigned◼square, C◼ulong: C◼ulong◼square, C◼ullong: C◼ullong◼square, C◼int: C◼int◼square, C◼long: C◼long◼square, C◼llong: C◼llong◼square)(X)
 
#define C◼math◼abs2(X)   _Generic(+(X), C◼real◼float: C◼real◼float◼square, C◼real◼double: C◼real◼double◼square, C◼real◼ldouble: C◼real◼ldouble◼square, C◼complex◼float: C◼complex◼float◼abs2, C◼complex◼double: C◼complex◼double◼abs2, C◼complex◼ldouble: C◼complex◼ldouble◼abs2, C◼unsigned: C◼unsigned◼square, C◼ulong: C◼ulong◼square, C◼ullong: C◼ullong◼square, C◼int: C◼int◼square, C◼long: C◼long◼square, C◼llong: C◼llong◼square)(X)
 
#define C◼math◼min(...)   _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼min(__VA_ARGS__), C◼real◼double: C◼real◼double◼min(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼min(__VA_ARGS__), C◼unsigned: C◼unsigned◼min(__VA_ARGS__), C◼ulong: C◼ulong◼min(__VA_ARGS__), C◼ullong: C◼ullong◼min(__VA_ARGS__), C◼int: C◼int◼min(__VA_ARGS__), C◼long: C◼long◼min(__VA_ARGS__), C◼llong: C◼llong◼min(__VA_ARGS__))
 
#define C◼math◼max(...)   _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼max(__VA_ARGS__), C◼real◼double: C◼real◼double◼max(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼max(__VA_ARGS__), C◼unsigned: C◼unsigned◼max(__VA_ARGS__), C◼ulong: C◼ulong◼max(__VA_ARGS__), C◼ullong: C◼ullong◼max(__VA_ARGS__), C◼int: C◼int◼max(__VA_ARGS__), C◼long: C◼long◼max(__VA_ARGS__), C◼llong: C◼llong◼max(__VA_ARGS__))
 
#define C◼math◼sum(...)   _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼sum(__VA_ARGS__), C◼real◼double: C◼real◼double◼sum(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼sum(__VA_ARGS__), C◼complex◼float: C◼complex◼float◼sum(__VA_ARGS__), C◼complex◼double: C◼complex◼double◼sum(__VA_ARGS__), C◼complex◼ldouble: C◼complex◼ldouble◼sum(__VA_ARGS__), C◼unsigned: C◼unsigned◼sum(__VA_ARGS__), C◼ulong: C◼ulong◼sum(__VA_ARGS__), C◼ullong: C◼ullong◼sum(__VA_ARGS__), C◼int: C◼int◼sum(__VA_ARGS__), C◼long: C◼long◼sum(__VA_ARGS__), C◼llong: C◼llong◼sum(__VA_ARGS__))
 
#define C◼math◼sub(...)   _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼sub(__VA_ARGS__), C◼real◼double: C◼real◼double◼sub(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼sub(__VA_ARGS__), C◼complex◼float: C◼complex◼float◼sub(__VA_ARGS__), C◼complex◼double: C◼complex◼double◼sub(__VA_ARGS__), C◼complex◼ldouble: C◼complex◼ldouble◼sub(__VA_ARGS__), C◼unsigned: C◼unsigned◼sub(__VA_ARGS__), C◼ulong: C◼ulong◼sub(__VA_ARGS__), C◼ullong: C◼ullong◼sub(__VA_ARGS__), C◼int: C◼int◼sub(__VA_ARGS__), C◼long: C◼long◼sub(__VA_ARGS__), C◼llong: C◼llong◼sub(__VA_ARGS__))
 
#define C◼math◼prod(...)   _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼prod(__VA_ARGS__), C◼real◼double: C◼real◼double◼prod(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼prod(__VA_ARGS__), C◼complex◼float: C◼complex◼float◼prod(__VA_ARGS__), C◼complex◼double: C◼complex◼double◼prod(__VA_ARGS__), C◼complex◼ldouble: C◼complex◼ldouble◼prod(__VA_ARGS__), C◼unsigned: C◼unsigned◼prod(__VA_ARGS__), C◼ulong: C◼ulong◼prod(__VA_ARGS__), C◼ullong: C◼ullong◼prod(__VA_ARGS__), C◼int: C◼int◼prod(__VA_ARGS__), C◼long: C◼long◼prod(__VA_ARGS__), C◼llong: C◼llong◼prod(__VA_ARGS__))
 
#define C◼math◼div(...)   _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼div(__VA_ARGS__), C◼real◼double: C◼real◼double◼div(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼div(__VA_ARGS__), C◼complex◼float: C◼complex◼float◼div(__VA_ARGS__), C◼complex◼double: C◼complex◼double◼div(__VA_ARGS__), C◼complex◼ldouble: C◼complex◼ldouble◼div(__VA_ARGS__), C◼unsigned: C◼unsigned◼div(__VA_ARGS__), C◼ulong: C◼ulong◼div(__VA_ARGS__), C◼ullong: C◼ullong◼div(__VA_ARGS__), C◼int: C◼int◼div(__VA_ARGS__), C◼long: C◼long◼div(__VA_ARGS__), C◼llong: C◼llong◼div(__VA_ARGS__))
 
#define C◼math◼minv(L, P)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼minv, C◼real◼double: C◼real◼double◼minv, C◼real◼ldouble: C◼real◼ldouble◼minv, C◼unsigned: C◼unsigned◼minv, C◼ulong: C◼ulong◼minv, C◼ullong: C◼ullong◼minv, C◼int: C◼int◼minv, C◼long: C◼long◼minv, C◼llong: C◼llong◼minv)((L), (P))
 
#define C◼math◼maxv(L, P)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼maxv, C◼real◼double: C◼real◼double◼maxv, C◼real◼ldouble: C◼real◼ldouble◼maxv, C◼unsigned: C◼unsigned◼maxv, C◼ulong: C◼ulong◼maxv, C◼ullong: C◼ullong◼maxv, C◼int: C◼int◼maxv, C◼long: C◼long◼maxv, C◼llong: C◼llong◼maxv)((L), (P))
 
#define C◼math◼sumv(L, P)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼sumv, C◼real◼double: C◼real◼double◼sumv, C◼real◼ldouble: C◼real◼ldouble◼sumv, C◼complex◼float: C◼complex◼float◼sumv, C◼complex◼double: C◼complex◼double◼sumv, C◼complex◼ldouble: C◼complex◼ldouble◼sumv, C◼unsigned: C◼unsigned◼sumv, C◼ulong: C◼ulong◼sumv, C◼ullong: C◼ullong◼sumv, C◼int: C◼int◼sumv, C◼long: C◼long◼sumv, C◼llong: C◼llong◼sumv)((L), (P))
 
#define C◼math◼subv(L, P)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼subv, C◼real◼double: C◼real◼double◼subv, C◼real◼ldouble: C◼real◼ldouble◼subv, C◼complex◼float: C◼complex◼float◼subv, C◼complex◼double: C◼complex◼double◼subv, C◼complex◼ldouble: C◼complex◼ldouble◼subv, C◼unsigned: C◼unsigned◼subv, C◼ulong: C◼ulong◼subv, C◼ullong: C◼ullong◼subv, C◼int: C◼int◼subv, C◼long: C◼long◼subv, C◼llong: C◼llong◼subv)((L), (P))
 
#define C◼math◼prodv(L, P)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼prodv, C◼real◼double: C◼real◼double◼prodv, C◼real◼ldouble: C◼real◼ldouble◼prodv, C◼complex◼float: C◼complex◼float◼prodv, C◼complex◼double: C◼complex◼double◼prodv, C◼complex◼ldouble: C◼complex◼ldouble◼prodv, C◼unsigned: C◼unsigned◼prodv, C◼ulong: C◼ulong◼prodv, C◼ullong: C◼ullong◼prodv, C◼int: C◼int◼prodv, C◼long: C◼long◼prodv, C◼llong: C◼llong◼prodv)((L), (P))
 
#define C◼math◼divv(L, P)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼divv, C◼real◼double: C◼real◼double◼divv, C◼real◼ldouble: C◼real◼ldouble◼divv, C◼complex◼float: C◼complex◼float◼divv, C◼complex◼double: C◼complex◼double◼divv, C◼complex◼ldouble: C◼complex◼ldouble◼divv, C◼unsigned: C◼unsigned◼divv, C◼ulong: C◼ulong◼divv, C◼ullong: C◼ullong◼divv, C◼int: C◼int◼divv, C◼long: C◼long◼divv, C◼llong: C◼llong◼divv)((L), (P))
 
#define C◼math◼avgv(L, P)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼avgv, C◼real◼double: C◼real◼double◼avgv, C◼real◼ldouble: C◼real◼ldouble◼avgv, C◼complex◼float: C◼complex◼float◼avgv, C◼complex◼double: C◼complex◼double◼avgv, C◼complex◼ldouble: C◼complex◼ldouble◼avgv, C◼unsigned: C◼unsigned◼avgv, C◼ulong: C◼ulong◼avgv, C◼ullong: C◼ullong◼avgv, C◼int: C◼int◼avgv, C◼long: C◼long◼avgv, C◼llong: C◼llong◼avgv)((L), (P))
 
#define C◼math◼varv(L, P)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼varv, C◼real◼double: C◼real◼double◼varv, C◼real◼ldouble: C◼real◼ldouble◼varv, C◼complex◼float: C◼complex◼float◼varv, C◼complex◼double: C◼complex◼double◼varv, C◼complex◼ldouble: C◼complex◼ldouble◼varv, C◼unsigned: C◼unsigned◼varv, C◼ulong: C◼ulong◼varv, C◼ullong: C◼ullong◼varv, C◼int: C◼int◼varv, C◼long: C◼long◼varv, C◼llong: C◼llong◼varv)((L), (P))
 
#define C◼math◼devv(L, P)   C◼math◼sqrt(C◼math◼varv((L), (P)))
 
#define C◼math◼var3v(L, P, E)   _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼var3v, C◼real◼double: C◼real◼double◼var3v, C◼real◼ldouble: C◼real◼ldouble◼var3v, C◼complex◼float: C◼complex◼float◼var3v, C◼complex◼double: C◼complex◼double◼var3v, C◼complex◼ldouble: C◼complex◼ldouble◼var3v, C◼unsigned: C◼unsigned◼var3v, C◼ulong: C◼ulong◼var3v, C◼ullong: C◼ullong◼var3v, C◼int: C◼int◼var3v, C◼long: C◼long◼var3v, C◼llong: C◼llong◼var3v)((L), (P), (E))
 
#define C◼math◼dev3v(L, P, E)   C◼math◼sqrt(C◼math◼var3v((L), (P), (E)))
 
#define C◼math◼Γ   C◼math◼tgamma
 
#define C◼math◼lnΓ   C◼math◼lgamma
 
#define C◼math◼abs²   C◼math◼abs2
 
#define C◼math◼log₂   C◼math◼log2
 
#define C◼math◼log₁₀   C◼math◼log10
 
#define C◼math◼Σ   C◼math◼sum
 
#define C◼math◼Π   C◼math◼prod
 
#define C◼math◼⌈   C◼math◼ceil
 
#define C◼math◼⌊   C◼math◼floor
 
#define C◼math◼²√   C◼math◼sqrt
 
#define C◼math◼³√   C◼math◼cbrt
 
#define C◼math◼ℑ   C◼math◼imag
 
#define C◼math◼ℜ   C◼math◼real
 

Typedefs

typedef signed C◼math◼_s
 
typedef signed long C◼math◼_sl
 
typedef signed long long C◼math◼_sll
 
typedef unsigned C◼math◼_u
 
typedef unsigned long C◼math◼_ul
 
typedef unsigned long long C◼math◼_ull
 

Detailed Description

Macro Definition Documentation

§ C◼math◼abs

#define C◼math◼abs (   X)    _Generic(+(X), C◼real◼float: C◼real◼float◼fabs, C◼real◼double: C◼real◼double◼fabs, C◼real◼ldouble: C◼real◼ldouble◼fabs, C◼complex◼float: C◼complex◼float◼abs, C◼complex◼double: C◼complex◼double◼abs, C◼complex◼ldouble: C◼complex◼ldouble◼abs, C◼unsigned: C◼unsigned◼abs, C◼ulong: C◼ulong◼abs, C◼ullong: C◼ullong◼abs, C◼int: C◼int◼abs, C◼long: C◼long◼abs, C◼llong: C◼llong◼abs)(X)

Compute the absolute value of an arithmetic quantity.

For floating point types, this type generic macro assembles the six fabs and cabs functions and chooses the one corresponding to the input type.

For the six wide integer types, the result always has the corresponding unsigned type.

Narrow integer types are first promoted.

Remarks
On almost all platforms abs(X) of any valid value is representable.

The only exception of that would be platforms that have two's complement representation and that just mask out the sign bit to have the corresponding unsigned type.

Definition at line 222 of file C-math.c.

§ C◼math◼abs2

#define C◼math◼abs2 (   X)    _Generic(+(X), C◼real◼float: C◼real◼float◼square, C◼real◼double: C◼real◼double◼square, C◼real◼ldouble: C◼real◼ldouble◼square, C◼complex◼float: C◼complex◼float◼abs2, C◼complex◼double: C◼complex◼double◼abs2, C◼complex◼ldouble: C◼complex◼ldouble◼abs2, C◼unsigned: C◼unsigned◼square, C◼ulong: C◼ulong◼square, C◼ullong: C◼ullong◼square, C◼int: C◼int◼square, C◼long: C◼long◼square, C◼llong: C◼llong◼square)(X)

Definition at line 230 of file C-math.c.

§ C◼math◼abs²

#define C◼math◼abs²   C◼math◼abs2

Definition at line 268 of file C-math.c.

§ C◼math◼acos

Definition at line 136 of file C-math.c.

§ C◼math◼acosh

Definition at line 137 of file C-math.c.

§ C◼math◼arg

#define C◼math◼arg (   Z)    _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼arg, long double C◼math◼complex: C◼complex◼ldouble◼arg, default: C◼complex◼double◼arg)(Z)

Definition at line 198 of file C-math.c.

§ C◼math◼asin

Definition at line 138 of file C-math.c.

§ C◼math◼asinh

Definition at line 139 of file C-math.c.

§ C◼math◼atan

Definition at line 140 of file C-math.c.

§ C◼math◼atan2

#define C◼math◼atan2 (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼atan2, C◼real◼double◼atan2, C◼real◼ldouble◼atan2)

Definition at line 156 of file C-math.c.

§ C◼math◼atanh

Definition at line 141 of file C-math.c.

§ C◼math◼avgv

#define C◼math◼avgv (   L,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼avgv, C◼real◼double: C◼real◼double◼avgv, C◼real◼ldouble: C◼real◼ldouble◼avgv, C◼complex◼float: C◼complex◼float◼avgv, C◼complex◼double: C◼complex◼double◼avgv, C◼complex◼ldouble: C◼complex◼ldouble◼avgv, C◼unsigned: C◼unsigned◼avgv, C◼ulong: C◼ulong◼avgv, C◼ullong: C◼ullong◼avgv, C◼int: C◼int◼avgv, C◼long: C◼long◼avgv, C◼llong: C◼llong◼avgv)((L), (P))

Definition at line 256 of file C-math.c.

§ C◼math◼cbrt

#define C◼math◼cbrt (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼cbrt, C◼real◼double◼cbrt, C◼real◼ldouble◼cbrt)

Definition at line 157 of file C-math.c.

§ C◼math◼ceil

#define C◼math◼ceil (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼ceil, C◼real◼double◼ceil, C◼real◼ldouble◼ceil)

Definition at line 158 of file C-math.c.

§ C◼math◼cmplx

#define C◼math◼cmplx (   X,
 
)    _Generic(((X)+(Y)), float: C◼complex◼float◼CMPLX((X), (Y)), long double: C◼complex◼ldouble◼CMPLX((X), (Y)), default: C◼complex◼double◼CMPLX((X), (Y)))

a type generic macro for complex values

Definition at line 195 of file C-math.c.

§ C◼math◼conj

#define C◼math◼conj (   Z)    _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼conj, long double C◼math◼complex: C◼complex◼ldouble◼conj, default: C◼complex◼double◼conj)(Z)

Definition at line 200 of file C-math.c.

§ C◼math◼copysign

#define C◼math◼copysign (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼copysign, C◼real◼double◼copysign, C◼real◼ldouble◼copysign)

Definition at line 159 of file C-math.c.

§ C◼math◼cos

Definition at line 142 of file C-math.c.

§ C◼math◼cosh

Definition at line 143 of file C-math.c.

§ C◼math◼dev3v

#define C◼math◼dev3v (   L,
  P,
 
)    C◼math◼sqrt(C◼math◼var3v((L), (P), (E)))

Definition at line 264 of file C-math.c.

§ C◼math◼devv

#define C◼math◼devv (   L,
 
)    C◼math◼sqrt(C◼math◼varv((L), (P)))

Definition at line 260 of file C-math.c.

§ C◼math◼div

#define C◼math◼div (   ...)    _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼div(__VA_ARGS__), C◼real◼double: C◼real◼double◼div(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼div(__VA_ARGS__), C◼complex◼float: C◼complex◼float◼div(__VA_ARGS__), C◼complex◼double: C◼complex◼double◼div(__VA_ARGS__), C◼complex◼ldouble: C◼complex◼ldouble◼div(__VA_ARGS__), C◼unsigned: C◼unsigned◼div(__VA_ARGS__), C◼ulong: C◼ulong◼div(__VA_ARGS__), C◼ullong: C◼ullong◼div(__VA_ARGS__), C◼int: C◼int◼div(__VA_ARGS__), C◼long: C◼long◼div(__VA_ARGS__), C◼llong: C◼llong◼div(__VA_ARGS__))

Definition at line 242 of file C-math.c.

§ C◼math◼divv

#define C◼math◼divv (   L,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼divv, C◼real◼double: C◼real◼double◼divv, C◼real◼ldouble: C◼real◼ldouble◼divv, C◼complex◼float: C◼complex◼float◼divv, C◼complex◼double: C◼complex◼double◼divv, C◼complex◼ldouble: C◼complex◼ldouble◼divv, C◼unsigned: C◼unsigned◼divv, C◼ulong: C◼ulong◼divv, C◼ullong: C◼ullong◼divv, C◼int: C◼int◼divv, C◼long: C◼long◼divv, C◼llong: C◼llong◼divv)((L), (P))

Definition at line 254 of file C-math.c.

§ C◼math◼erf

#define C◼math◼erf (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼erf, C◼real◼double◼erf, C◼real◼ldouble◼erf)

Definition at line 160 of file C-math.c.

§ C◼math◼erfc

#define C◼math◼erfc (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼erfc, C◼real◼double◼erfc, C◼real◼ldouble◼erfc)

Definition at line 161 of file C-math.c.

§ C◼math◼exp

Definition at line 144 of file C-math.c.

§ C◼math◼exp2

#define C◼math◼exp2 (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼exp2, C◼real◼double◼exp2, C◼real◼ldouble◼exp2)

Definition at line 162 of file C-math.c.

§ C◼math◼expm1

#define C◼math◼expm1 (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼expm1, C◼real◼double◼expm1, C◼real◼ldouble◼expm1)

Definition at line 163 of file C-math.c.

§ C◼math◼fdim

#define C◼math◼fdim (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼fdim, C◼real◼double◼fdim, C◼real◼ldouble◼fdim)

Definition at line 164 of file C-math.c.

§ C◼math◼floor

#define C◼math◼floor (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼floor, C◼real◼double◼floor, C◼real◼ldouble◼floor)

Definition at line 165 of file C-math.c.

§ C◼math◼fma

#define C◼math◼fma (   X,
  Y,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGC3((X), (Y), (Z), C◼real◼float◼fma, C◼real◼double◼fma, C◼real◼ldouble◼fma, C◼complex◼float◼fma, C◼complex◼double◼fma, C◼complex◼ldouble◼fma)

Definition at line 145 of file C-math.c.

§ C◼math◼fmax

#define C◼math◼fmax (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼fmax, C◼real◼double◼fmax, C◼real◼ldouble◼fmax)

Definition at line 166 of file C-math.c.

§ C◼math◼fma—fast

Definition at line 146 of file C-math.c.

§ C◼math◼fmin

#define C◼math◼fmin (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼fmin, C◼real◼double◼fmin, C◼real◼ldouble◼fmin)

Definition at line 167 of file C-math.c.

§ C◼math◼fmod

#define C◼math◼fmod (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼fmod, C◼real◼double◼fmod, C◼real◼ldouble◼fmod)

Definition at line 168 of file C-math.c.

§ C◼math◼frexp

#define C◼math◼frexp (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR12((X), (Y), C◼real◼float◼frexp, C◼real◼double◼frexp, C◼real◼ldouble◼frexp)

Definition at line 169 of file C-math.c.

§ C◼math◼hypot

#define C◼math◼hypot (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼hypot, C◼real◼double◼hypot, C◼real◼ldouble◼hypot)

Definition at line 170 of file C-math.c.

§ C◼math◼ilogb

#define C◼math◼ilogb (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼ilogb, C◼real◼double◼ilogb, C◼real◼ldouble◼ilogb)

Definition at line 171 of file C-math.c.

§ C◼math◼imag

#define C◼math◼imag (   Z)    _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼imag, long double C◼math◼complex: C◼complex◼ldouble◼imag, default: C◼complex◼double◼imag)(Z)

Definition at line 199 of file C-math.c.

§ C◼math◼ldexp

#define C◼math◼ldexp (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR12((X), (Y), C◼real◼float◼ldexp, C◼real◼double◼ldexp, C◼real◼ldouble◼ldexp)

Definition at line 172 of file C-math.c.

§ C◼math◼lgamma

#define C◼math◼lgamma (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼lgamma, C◼real◼double◼lgamma, C◼real◼ldouble◼lgamma)

Definition at line 173 of file C-math.c.

§ C◼math◼llrint

#define C◼math◼llrint (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼llrint, C◼real◼double◼llrint, C◼real◼ldouble◼llrint)

Definition at line 174 of file C-math.c.

§ C◼math◼llround

#define C◼math◼llround (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼llround, C◼real◼double◼llround, C◼real◼ldouble◼llround)

Definition at line 175 of file C-math.c.

§ C◼math◼lnΓ

#define C◼math◼lnΓ   C◼math◼lgamma

Definition at line 267 of file C-math.c.

§ C◼math◼log

Definition at line 147 of file C-math.c.

§ C◼math◼log10

#define C◼math◼log10 (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼log10, C◼real◼double◼log10, C◼real◼ldouble◼log10)

Definition at line 176 of file C-math.c.

§ C◼math◼log1p

#define C◼math◼log1p (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼log1p, C◼real◼double◼log1p, C◼real◼ldouble◼log1p)

Definition at line 177 of file C-math.c.

§ C◼math◼log2

#define C◼math◼log2 (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼log2, C◼real◼double◼log2, C◼real◼ldouble◼log2)

Definition at line 178 of file C-math.c.

§ C◼math◼logb

#define C◼math◼logb (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼logb, C◼real◼double◼logb, C◼real◼ldouble◼logb)

Definition at line 179 of file C-math.c.

§ C◼math◼log₁₀

#define C◼math◼log₁₀   C◼math◼log10

Definition at line 270 of file C-math.c.

§ C◼math◼log₂

#define C◼math◼log₂   C◼math◼log2

Definition at line 269 of file C-math.c.

§ C◼math◼lrint

#define C◼math◼lrint (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼lrint, C◼real◼double◼lrint, C◼real◼ldouble◼lrint)

Definition at line 180 of file C-math.c.

§ C◼math◼lround

#define C◼math◼lround (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼lround, C◼real◼double◼lround, C◼real◼ldouble◼lround)

Definition at line 181 of file C-math.c.

§ C◼math◼max

#define C◼math◼max (   ...)    _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼max(__VA_ARGS__), C◼real◼double: C◼real◼double◼max(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼max(__VA_ARGS__), C◼unsigned: C◼unsigned◼max(__VA_ARGS__), C◼ulong: C◼ulong◼max(__VA_ARGS__), C◼ullong: C◼ullong◼max(__VA_ARGS__), C◼int: C◼int◼max(__VA_ARGS__), C◼long: C◼long◼max(__VA_ARGS__), C◼llong: C◼llong◼max(__VA_ARGS__))

Definition at line 234 of file C-math.c.

Referenced by C◼mod◼stats◼print().

§ C◼math◼maxv

#define C◼math◼maxv (   L,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼maxv, C◼real◼double: C◼real◼double◼maxv, C◼real◼ldouble: C◼real◼ldouble◼maxv, C◼unsigned: C◼unsigned◼maxv, C◼ulong: C◼ulong◼maxv, C◼ullong: C◼ullong◼maxv, C◼int: C◼int◼maxv, C◼long: C◼long◼maxv, C◼llong: C◼llong◼maxv)((L), (P))

Definition at line 246 of file C-math.c.

§ C◼math◼min

#define C◼math◼min (   ...)    _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼min(__VA_ARGS__), C◼real◼double: C◼real◼double◼min(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼min(__VA_ARGS__), C◼unsigned: C◼unsigned◼min(__VA_ARGS__), C◼ulong: C◼ulong◼min(__VA_ARGS__), C◼ullong: C◼ullong◼min(__VA_ARGS__), C◼int: C◼int◼min(__VA_ARGS__), C◼long: C◼long◼min(__VA_ARGS__), C◼llong: C◼llong◼min(__VA_ARGS__))

Definition at line 232 of file C-math.c.

§ C◼math◼minus

#define C◼math◼minus (   X)    _Generic(+(X), C◼real◼float: C◼real◼float◼minus, C◼real◼double: C◼real◼double◼minus, C◼real◼ldouble: C◼real◼ldouble◼minus, C◼complex◼float: C◼complex◼float◼minus, C◼complex◼double: C◼complex◼double◼minus, C◼complex◼ldouble: C◼complex◼ldouble◼minus, C◼unsigned: C◼unsigned◼minus, C◼ulong: C◼ulong◼minus, C◼ullong: C◼ullong◼minus, C◼int: C◼int◼minus, C◼long: C◼long◼minus, C◼llong: C◼llong◼minus)(X)

Definition at line 224 of file C-math.c.

§ C◼math◼minv

#define C◼math◼minv (   L,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼minv, C◼real◼double: C◼real◼double◼minv, C◼real◼ldouble: C◼real◼ldouble◼minv, C◼unsigned: C◼unsigned◼minv, C◼ulong: C◼ulong◼minv, C◼ullong: C◼ullong◼minv, C◼int: C◼int◼minv, C◼long: C◼long◼minv, C◼llong: C◼llong◼minv)((L), (P))

Definition at line 244 of file C-math.c.

§ C◼math◼nearbyint

#define C◼math◼nearbyint (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼nearbyint, C◼real◼double◼nearbyint, C◼real◼ldouble◼nearbyint)

Definition at line 182 of file C-math.c.

§ C◼math◼nextafter

#define C◼math◼nextafter (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼nextafter, C◼real◼double◼nextafter, C◼real◼ldouble◼nextafter)

Definition at line 183 of file C-math.c.

§ C◼math◼nexttoward

#define C◼math◼nexttoward (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼nexttoward, C◼real◼double◼nexttoward, C◼real◼ldouble◼nexttoward)

Definition at line 184 of file C-math.c.

§ C◼math◼pow

#define C◼math◼pow (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGC2((X), (Y), C◼real◼float◼pow, C◼real◼double◼pow, C◼real◼ldouble◼pow, C◼complex◼float◼pow, C◼complex◼double◼pow, C◼complex◼ldouble◼pow)

Definition at line 154 of file C-math.c.

Referenced by C◼mod◼stats◼skew().

§ C◼math◼prod

#define C◼math◼prod (   ...)    _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼prod(__VA_ARGS__), C◼real◼double: C◼real◼double◼prod(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼prod(__VA_ARGS__), C◼complex◼float: C◼complex◼float◼prod(__VA_ARGS__), C◼complex◼double: C◼complex◼double◼prod(__VA_ARGS__), C◼complex◼ldouble: C◼complex◼ldouble◼prod(__VA_ARGS__), C◼unsigned: C◼unsigned◼prod(__VA_ARGS__), C◼ulong: C◼ulong◼prod(__VA_ARGS__), C◼ullong: C◼ullong◼prod(__VA_ARGS__), C◼int: C◼int◼prod(__VA_ARGS__), C◼long: C◼long◼prod(__VA_ARGS__), C◼llong: C◼llong◼prod(__VA_ARGS__))

Definition at line 240 of file C-math.c.

§ C◼math◼prodv

#define C◼math◼prodv (   L,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼prodv, C◼real◼double: C◼real◼double◼prodv, C◼real◼ldouble: C◼real◼ldouble◼prodv, C◼complex◼float: C◼complex◼float◼prodv, C◼complex◼double: C◼complex◼double◼prodv, C◼complex◼ldouble: C◼complex◼ldouble◼prodv, C◼unsigned: C◼unsigned◼prodv, C◼ulong: C◼ulong◼prodv, C◼ullong: C◼ullong◼prodv, C◼int: C◼int◼prodv, C◼long: C◼long◼prodv, C◼llong: C◼llong◼prodv)((L), (P))

Definition at line 252 of file C-math.c.

§ C◼math◼proj

#define C◼math◼proj (   Z)    _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼proj, long double C◼math◼complex: C◼complex◼ldouble◼proj, default: C◼complex◼double◼proj)(Z)

Definition at line 201 of file C-math.c.

§ C◼math◼real

#define C◼math◼real (   Z)    _Generic((Z)*C◼complex◼_Complex_I, float C◼math◼complex: C◼complex◼float◼real, long double C◼math◼complex: C◼complex◼ldouble◼real, default: C◼complex◼double◼real)(Z)

Definition at line 202 of file C-math.c.

§ C◼math◼recip

#define C◼math◼recip (   X)    _Generic(+(X), C◼real◼float: C◼real◼float◼recip, C◼real◼double: C◼real◼double◼recip, C◼real◼ldouble: C◼real◼ldouble◼recip, C◼complex◼float: C◼complex◼float◼recip, C◼complex◼double: C◼complex◼double◼recip, C◼complex◼ldouble: C◼complex◼ldouble◼recip, C◼unsigned: C◼unsigned◼recip, C◼ulong: C◼ulong◼recip, C◼ullong: C◼ullong◼recip, C◼int: C◼int◼recip, C◼long: C◼long◼recip, C◼llong: C◼llong◼recip)(X)

Definition at line 226 of file C-math.c.

§ C◼math◼remainder

#define C◼math◼remainder (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR2((X), (Y), C◼real◼float◼remainder, C◼real◼double◼remainder, C◼real◼ldouble◼remainder)

Definition at line 185 of file C-math.c.

§ C◼math◼remquo

#define C◼math◼remquo (   X,
  Y,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR23((X), (Y), (Z), C◼real◼float◼remquo, C◼real◼double◼remquo, C◼real◼ldouble◼remquo)

Definition at line 186 of file C-math.c.

§ C◼math◼rint

#define C◼math◼rint (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼rint, C◼real◼double◼rint, C◼real◼ldouble◼rint)

Definition at line 187 of file C-math.c.

§ C◼math◼round

#define C◼math◼round (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼round, C◼real◼double◼round, C◼real◼ldouble◼round)

Definition at line 188 of file C-math.c.

§ C◼math◼scalbln

#define C◼math◼scalbln (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR12((X), (Y), C◼real◼float◼scalbln, C◼real◼double◼scalbln, C◼real◼ldouble◼scalbln)

Definition at line 189 of file C-math.c.

§ C◼math◼scalbn

#define C◼math◼scalbn (   X,
 
)    _Intern◼_KFLVLdcy◼C◼math◼TGR12((X), (Y), C◼real◼float◼scalbn, C◼real◼double◼scalbn, C◼real◼ldouble◼scalbn)

Definition at line 190 of file C-math.c.

§ C◼math◼sin

Definition at line 148 of file C-math.c.

§ C◼math◼sinh

Definition at line 149 of file C-math.c.

§ C◼math◼sqrt

§ C◼math◼square

#define C◼math◼square (   X)    _Generic(+(X), C◼real◼float: C◼real◼float◼square, C◼real◼double: C◼real◼double◼square, C◼real◼ldouble: C◼real◼ldouble◼square, C◼complex◼float: C◼complex◼float◼square, C◼complex◼double: C◼complex◼double◼square, C◼complex◼ldouble: C◼complex◼ldouble◼square, C◼unsigned: C◼unsigned◼square, C◼ulong: C◼ulong◼square, C◼ullong: C◼ullong◼square, C◼int: C◼int◼square, C◼long: C◼long◼square, C◼llong: C◼llong◼square)(X)

Definition at line 228 of file C-math.c.

§ C◼math◼sub

#define C◼math◼sub (   ...)    _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼sub(__VA_ARGS__), C◼real◼double: C◼real◼double◼sub(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼sub(__VA_ARGS__), C◼complex◼float: C◼complex◼float◼sub(__VA_ARGS__), C◼complex◼double: C◼complex◼double◼sub(__VA_ARGS__), C◼complex◼ldouble: C◼complex◼ldouble◼sub(__VA_ARGS__), C◼unsigned: C◼unsigned◼sub(__VA_ARGS__), C◼ulong: C◼ulong◼sub(__VA_ARGS__), C◼ullong: C◼ullong◼sub(__VA_ARGS__), C◼int: C◼int◼sub(__VA_ARGS__), C◼long: C◼long◼sub(__VA_ARGS__), C◼llong: C◼llong◼sub(__VA_ARGS__))

Definition at line 238 of file C-math.c.

§ C◼math◼subv

#define C◼math◼subv (   L,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼subv, C◼real◼double: C◼real◼double◼subv, C◼real◼ldouble: C◼real◼ldouble◼subv, C◼complex◼float: C◼complex◼float◼subv, C◼complex◼double: C◼complex◼double◼subv, C◼complex◼ldouble: C◼complex◼ldouble◼subv, C◼unsigned: C◼unsigned◼subv, C◼ulong: C◼ulong◼subv, C◼ullong: C◼ullong◼subv, C◼int: C◼int◼subv, C◼long: C◼long◼subv, C◼llong: C◼llong◼subv)((L), (P))

Definition at line 250 of file C-math.c.

§ C◼math◼sum

#define C◼math◼sum (   ...)    _Generic(C◼generic◼COMBINED64(__VA_ARGS__), C◼real◼float: C◼real◼float◼sum(__VA_ARGS__), C◼real◼double: C◼real◼double◼sum(__VA_ARGS__), C◼real◼ldouble: C◼real◼ldouble◼sum(__VA_ARGS__), C◼complex◼float: C◼complex◼float◼sum(__VA_ARGS__), C◼complex◼double: C◼complex◼double◼sum(__VA_ARGS__), C◼complex◼ldouble: C◼complex◼ldouble◼sum(__VA_ARGS__), C◼unsigned: C◼unsigned◼sum(__VA_ARGS__), C◼ulong: C◼ulong◼sum(__VA_ARGS__), C◼ullong: C◼ullong◼sum(__VA_ARGS__), C◼int: C◼int◼sum(__VA_ARGS__), C◼long: C◼long◼sum(__VA_ARGS__), C◼llong: C◼llong◼sum(__VA_ARGS__))

Definition at line 236 of file C-math.c.

§ C◼math◼sumv

#define C◼math◼sumv (   L,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼sumv, C◼real◼double: C◼real◼double◼sumv, C◼real◼ldouble: C◼real◼ldouble◼sumv, C◼complex◼float: C◼complex◼float◼sumv, C◼complex◼double: C◼complex◼double◼sumv, C◼complex◼ldouble: C◼complex◼ldouble◼sumv, C◼unsigned: C◼unsigned◼sumv, C◼ulong: C◼ulong◼sumv, C◼ullong: C◼ullong◼sumv, C◼int: C◼int◼sumv, C◼long: C◼long◼sumv, C◼llong: C◼llong◼sumv)((L), (P))

Definition at line 248 of file C-math.c.

§ C◼math◼tan

Definition at line 151 of file C-math.c.

§ C◼math◼tanh

Definition at line 152 of file C-math.c.

§ C◼math◼tgamma

#define C◼math◼tgamma (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼tgamma, C◼real◼double◼tgamma, C◼real◼ldouble◼tgamma)

Definition at line 191 of file C-math.c.

§ C◼math◼trunc

#define C◼math◼trunc (   X)    _Intern◼_KFLVLdcy◼C◼math◼TGR1((X), C◼real◼float◼trunc, C◼real◼double◼trunc, C◼real◼ldouble◼trunc)

Definition at line 192 of file C-math.c.

§ C◼math◼var3v

#define C◼math◼var3v (   L,
  P,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼var3v, C◼real◼double: C◼real◼double◼var3v, C◼real◼ldouble: C◼real◼ldouble◼var3v, C◼complex◼float: C◼complex◼float◼var3v, C◼complex◼double: C◼complex◼double◼var3v, C◼complex◼ldouble: C◼complex◼ldouble◼var3v, C◼unsigned: C◼unsigned◼var3v, C◼ulong: C◼ulong◼var3v, C◼ullong: C◼ullong◼var3v, C◼int: C◼int◼var3v, C◼long: C◼long◼var3v, C◼llong: C◼llong◼var3v)((L), (P), (E))

Definition at line 262 of file C-math.c.

§ C◼math◼varv

#define C◼math◼varv (   L,
 
)    _Generic((P)[0]+0, C◼real◼float: C◼real◼float◼varv, C◼real◼double: C◼real◼double◼varv, C◼real◼ldouble: C◼real◼ldouble◼varv, C◼complex◼float: C◼complex◼float◼varv, C◼complex◼double: C◼complex◼double◼varv, C◼complex◼ldouble: C◼complex◼ldouble◼varv, C◼unsigned: C◼unsigned◼varv, C◼ulong: C◼ulong◼varv, C◼ullong: C◼ullong◼varv, C◼int: C◼int◼varv, C◼long: C◼long◼varv, C◼llong: C◼llong◼varv)((L), (P))

Definition at line 258 of file C-math.c.

§ C◼math◼²√

#define C◼math◼²√   C◼math◼sqrt

Definition at line 275 of file C-math.c.

§ C◼math◼³√

#define C◼math◼³√   C◼math◼cbrt

Definition at line 276 of file C-math.c.

§ C◼math◼Γ

#define C◼math◼Γ   C◼math◼tgamma

Definition at line 266 of file C-math.c.

§ C◼math◼Π

#define C◼math◼Π   C◼math◼prod

Definition at line 272 of file C-math.c.

§ C◼math◼Σ

#define C◼math◼Σ   C◼math◼sum

Definition at line 271 of file C-math.c.

§ C◼math◼ℑ

#define C◼math◼ℑ   C◼math◼imag

Definition at line 277 of file C-math.c.

§ C◼math◼ℜ

#define C◼math◼ℜ   C◼math◼real

Definition at line 278 of file C-math.c.

§ C◼math◼⌈

#define C◼math◼⌈   C◼math◼ceil

Definition at line 273 of file C-math.c.

§ C◼math◼⌊

#define C◼math◼⌊   C◼math◼floor

Definition at line 274 of file C-math.c.

Typedef Documentation

§ C◼math◼_s

typedef signed C◼math◼_s

Definition at line 103 of file C-math.c.

§ C◼math◼_sl

typedef signed long C◼math◼_sl

Definition at line 104 of file C-math.c.

§ C◼math◼_sll

typedef signed long long C◼math◼_sll

Definition at line 105 of file C-math.c.

§ C◼math◼_u

typedef unsigned C◼math◼_u

Definition at line 106 of file C-math.c.

§ C◼math◼_ul

typedef unsigned long C◼math◼_ul

Definition at line 107 of file C-math.c.

§ C◼math◼_ull

typedef unsigned long long C◼math◼_ull

Definition at line 108 of file C-math.c.