Comparison Macros |
isgreater | Is greater |
isgreaterequal | Is greater or equal |
isless | Is less |
islessequal | Is less or equal |
islessgreater | Is less or greater |
isunordered | Is unordered |
Classification Macros |
fpclassify | Classify floating type |
isfinite | Test for a finite value |
isinf | Test for infinity |
isnan | Test for NaN |
isnormal | Test for a normal value |
signbit | Test sign |
Trigonometric functions |
cos | Compute cosine of a double |
cosf | Compute cosine of a float |
sin | Compute sine of a double |
sinf | Compute sine of a float |
tan | Compute tangent of a double |
tanf | Compute tangent of a double |
Inverse trigonometric functions |
acos | Compute inverse cosine of a double |
acosf | Compute inverse cosine of a float |
asin | Compute inverse sine of a double |
asinf | Compute inverse sine of a float |
atan | Compute inverse tangent of a double |
atan2 | Compute inverse tangent of a ratio of doubles |
atan2f | Compute inverse tangent of a ratio of floats |
atanf | Compute inverse tangent of a float |
Exponential and logarithmic functions |
exp | Compute exponential of a double |
exp2 | Compute binary exponential of a double |
exp2f | Compute binary exponential of a float |
expf | Compute exponential of a float |
expm1 | Compute exponential minus one of a double |
expm1f | Compute exponential minus one of a float |
frexp | Set exponent of a double |
frexpf | Set exponent of a float |
ilogb | Compute integer binary logarithm of a double |
ilogbf | Compute integer binary logarithm of a float |
ldexp | Adjust exponent of a double |
ldexpf | Adjust exponent of a float |
log | Compute natural logarithm of a double |
log10 | Compute common logarithm of a double |
log10f | Compute common logarithm of a float |
log1p | Compute natural logarithm plus one of a double |
log1pf | Compute natural logarithm plus one of a float |
log2 | Compute binary logarithm of a double |
log2f | Compute binary logarithm of a float |
logb | Compute floating-point base logarithm of a double |
logbf | Compute floating-point base logarithm of a float |
logf | Compute natural logarithm of a float |
scalbln | Scale a double |
scalblnf | Scale a float |
scalbn | Scale a double |
scalbnf | Scale a float |
Rounding and remainder functions |
ceil | Compute smallest integer not greater than a double |
ceilf | Compute smallest integer not greater than a float |
floor | Compute largest integer not greater than a double |
floorf | Compute largest integer not greater than a float |
fmod | Compute remainder after division of two doubles |
fmodf | Compute remainder after division of two floats |
llrint | Round and cast double to long long |
llrintf | Round and cast float to long long |
llround | Round and cast double to long long |
llroundf | Round and cast float to long long |
lrint | Round and cast double to long |
lrintf | Round and cast float to long |
lround | Round and cast double to long |
lroundf | Round and cast float to long |
modf | Break a double into integer and fractional parts |
modff | Break a float into integer and fractional parts |
nearbyint | Round double to nearby integral value |
nearbyintf | Round float to nearby integral value |
remainder | Compute remainder of a double |
remainderf | Compute remainder of a float |
remquo | Compute remainder and quotient of a double |
remquof | Compute remainder and quotient of a float |
rint | Round a double to an integral value |
rintf | Round a float to an integral value |
round | Round a double to the nearest integral value |
roundf | Round a float to the nearest integral value |
trunc | Truncate a double value |
truncf | Truncate a float value |
Power functions |
cbrt | Compute cube root of a double |
cbrtf | Compute cube root of a float |
hypot | Compute complex magnitude of two doubles |
hypotf | Compute complex magnitude of two floats |
pow | Raise a double to a power |
powf | Raise a float to a power |
sqrt | Compute square root of a double |
sqrtf | Compute square root of a float |
Absolute value functions |
fabs | Compute absolute value of a double |
fabsf | Compute absolute value of a float |
Maximum, minimum, and positive difference functions |
fdim | Compute positive difference of two doubles |
fdimf | Compute positive difference of two floats |
fmax | Compute maximum of two doubles |
fmaxf | Compute maximum of two floats |
fmin | Compute minimum of two doubles |
fminf | Compute minimum of two floats |
Hyperbolic functions |
cosh | Compute hyperbolic cosine of a double |
coshf | Compute hyperbolic cosine of a float |
sinh | Compute hyperbolic sine of a double |
sinhf | Compute hyperbolic sine of a float |
tanh | Compute hyperbolic tangent of a double |
tanhf | Compute hyperbolic tangent of a float |
Inverse hyperbolic functions |
acosh | Compute inverse hyperbolic cosine of a double |
acoshf | Compute inverse hyperbolic cosine of a float |
asinh | Compute inverse hyperbolic sine of a double |
asinhf | Compute inverse hyperbolic sine of a float |
atanh | Compute inverse hyperbolic tangent of a double |
atanhf | Compute inverse hyperbolic tangent of a float |
Fused multiply functions |
fma | Compute fused multiply-add of doubles |
fmaf | Compute fused multiply-add of floats |
Floating-point manipulation functions |
copysign | Copy magnitude and sign of a double |
copysignf | Copy magnitude and sign of a float |
nextafter | Next representable double value |
nextafterf | Next representable float value |
Error and Gamma functions |
erf | Compute error function of a double |
erfc | Compute complementary error function of a double |
erfcf | Compute complementary error function of a float |
erff | Compute error function of a float |
lgamma | Compute log-gamma function of a double |
lgammaf | Compute log-gamma function of a float |
tgamma | Compute gamma function of a double |
tgammaf | Compute gamma function of a float |
|