cppreference.com
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
MATH_ERRNO, MATH_ERREXCEPT, math_errhandling
From cppreference.com
<
c
|
numeric
|
math
C
Compiler support
Language
Headers
Type support
Program utilities
Variadic function support
Error handling
Dynamic memory management
Strings library
Algorithms
Numerics
Date and time utilities
Input/output support
Localization support
Concurrency support
(C11)
Technical Specifications
Symbol index
[edit]
Numerics
Common mathematical functions
Floating-point environment
(C99)
Pseudo-random number generation
Complex number arithmetic
(C99)
Type-generic math
(C99)
Bit manipulation
(C23)
Checked integer arithmetic
(C23)
[edit]
Common mathematical functions
Functions
Basic operations
abs
labs
llabs
imaxabs
(C99)
(C99)
fabs
div
ldiv
lldiv
imaxdiv
(C99)
(C99)
fmod
remainder
(C99)
remquo
(C99)
fma
(C99)
fdim
(C99)
nan
nanf
nanl
nand
N
(C99)
(C99)
(C99)
(C23)
Maximum/minimum operations
fmax
(C99)
fmin
(C99)
fmaximum
(C23)
fminimum
(C23)
fmaximum_mag
(C23)
fmaximum_num
(C23)
fminimum_mag
(C23)
fminimum_num
(C23)
fmaximum_mag_num
(C23)
fminimum_mag_num
(C23)
Exponential functions
exp
exp10
(C23)
exp2
(C99)
expm1
(C99)
exp10m1
(C23)
exp2m1
(C23)
log
log10
log2
(C99)
log1p
logp1
(C99)
(C23)
log10p1
(C23)
log2p1
(C23)
Power functions
sqrt
cbrt
(C99)
rootn
(C23)
rsqrt
(C23)
hypot
(C99)
compound
(C23)
pow
pown
(C23)
powr
(C23)
Trigonometric and hyperbolic functions
sin
cos
tan
asin
acos
atan
atan2
sinpi
(C23)