Document Index
Table of Contents
- 1 Mathematical Functions (math.h)
- 1.1 Error Handling
- 1.2 Standards Compliance And Portability
- 1.3
acos
, acosf
—arc cosine
- 1.4
acosh
, acoshf
—inverse hyperbolic cosine
- 1.5
asin
, asinf
—arc sine
- 1.6
asinh
, asinhf
—inverse hyperbolic sine
- 1.7
atan
, atanf
—arc tangent
- 1.8
atan2
, atan2f
—arc tangent of y/x
- 1.9
atanh
, atanhf
—inverse hyperbolic tangent
- 1.10
jN
, jNf
, yN
, yNf
—Bessel functions
- 1.11
cbrt
, cbrtf
—cube root
- 1.12
copysign
, copysignf
—sign of y, magnitude of x
- 1.13
cosh
, coshf
—hyperbolic cosine
- 1.14
erf
, erff
, erfc
, erfcf
—error function
- 1.15
exp
, expf
—exponential
- 1.16
exp10
, exp10f
—exponential, base 10
- 1.17
exp2
, exp2f
—exponential, base 2
- 1.18
expm1
, expm1f
—exponential minus 1
- 1.19
fabs
, fabsf
—absolute value (magnitude)
- 1.20
fdim
, fdimf
—positive difference
- 1.21
floor
, floorf
, ceil
, ceilf
—floor and ceiling
- 1.22
fma
, fmaf
—floating multiply add
- 1.23
fmax
, fmaxf
—maximum
- 1.24
fmin
, fminf
—minimum
- 1.25
fmod
, fmodf
—floating-point remainder (modulo)
- 1.26
frexp
, frexpf
—split floating-point number
- 1.27
gamma
, gammaf
, lgamma
, lgammaf
, gamma_r
, gammaf_r
, lgamma_r
, lgammaf_r
, tgamma
, and tgammaf
—logarithmic and plain gamma functions
- 1.28
hypot
, hypotf
—distance from origin
- 1.29
ilogb
, ilogbf
—get exponent of floating-point number
- 1.30
infinity
, infinityf
—representation of infinity
- 1.31
isgreater
, isgreaterequal
, isless
, islessequal
, islessgreater
, and isunordered
—comparison macros
- 1.32
fpclassify
, isfinite
, isinf
, isnan
, and isnormal
—floating-point classification macros; finite
, finitef
, isinf
, isinff
, isnan
, isnanf
—test for exceptional numbers
- 1.33
ldexp
, ldexpf
—load exponent
- 1.34
log
, logf
—natural logarithms
- 1.35
log10
, log10f
—base 10 logarithms
- 1.36
log1p
, log1pf
—log of 1 + x
- 1.37
log2
, log2f
—base 2 logarithm
- 1.38
logb
, logbf
—get exponent of floating-point number
- 1.39
lrint
, lrintf
, llrint
, llrintf
—round to integer
- 1.40
lround
, lroundf
, llround
, llroundf
—round to integer, to nearest
- 1.41
modf
, modff
—split fractional and integer parts
- 1.42
nan
, nanf
—representation of “Not a Number”
- 1.43
nearbyint
, nearbyintf
—round to integer
- 1.44
nextafter
, nextafterf
—get next number
- 1.45
pow
, powf
—x to the power y
- 1.46
pow10
, pow10f
—base 10 power functions
- 1.47
remainder
, remainderf
—round and remainder
- 1.48
remquo
, remquof
—remainder and part of quotient
- 1.49
rint
, rintf
—round to integer
- 1.50
round
, roundf
—round to integer, to nearest
- 1.51
scalbn
, scalbnf
, scalbln
, scalblnf
—scale by power of FLT_RADIX (=2)
- 1.52
signbit
—Does floating-point number have negative sign?
- 1.53
sin
, sinf
, cos
, cosf
—sine or cosine
- 1.54
sinh
, sinhf
—hyperbolic sine
- 1.55
sqrt
, sqrtf
—positive square root
- 1.56
tan
, tanf
—tangent
- 1.57
tanh
, tanhf
—hyperbolic tangent
- 1.58
trunc
, truncf
—round to integer, towards zero
- 2 Mathematical Complex Functions (complex.h)
- 2.1
cabs
, cabsf
, cabsl
—complex absolute-value
- 2.2
cacos
, cacosf
—complex arc cosine
- 2.3
cacosh
, cacoshf
—complex arc hyperbolic cosine
- 2.4
carg
, cargf
—argument (phase angle)
- 2.5
casin
, casinf
—complex arc sine
- 2.6
casinh
, casinhf
—complex arc hyperbolic sine
- 2.7
catan
, catanf
—complex arc tangent
- 2.8
catanh
, catanhf
—complex arc hyperbolic tangent
- 2.9
ccos
, ccosf
—complex cosine
- 2.10
ccosh
, ccoshf
—complex hyperbolic cosine
- 2.11
cexp
, cexpf
—complex base-e exponential
- 2.12
cimag
, cimagf
, cimagl
—imaginary part
- 2.13
clog
, clogf
—complex base-e logarithm
- 2.14
clog10
, clog10f
—complex base-10 logarithm
- 2.15
conj
, conjf
—complex conjugate
- 2.16
cpow
, cpowf
—complex power
- 2.17
cproj
, cprojf
— Riemann sphere projection
- 2.18
creal
, crealf
, creall
—real part
- 2.19
csin
, csinf
—complex sine
- 2.20
csinh
, csinhf
—complex hyperbolic sine
- 2.21
csqrt
, csqrtf
—complex square root
- 2.22
ctan
, ctanf
—complex tangent
- 2.23
ctanh
, ctanf
—complex hyperbolic tangent
- 3 Reentrancy Properties of
libm
- 4 The long double function support of
libm
- Document Index