Defined in header <cstdlib>
abs(int)labsllabs
(C++11)
(function) [edit]
div(int)ldivlldiv
(C++11)
(function) [edit]
Defined in header <cinttypes>
abs(std::intmax_t)imaxabs
(C++11)(C++11)
(function) [edit]
div(std::intmax_t)imaxdiv
(C++11)(C++11)
(function) [edit]
Defined in header <cmath>
Basic operations
abs(float)fabsfabsffabsl
(C++11)(C++11)
(function) [edit]
fmodfmodffmodl
(C++11)(C++11)
(function) [edit]
remainderremainderfremainderl
(C++11)(C++11)(C++11)
(function) [edit]
remquoremquofremquol
(C++11)(C++11)(C++11)
(function) [edit]
fmafmaffmal
(C++11)(C++11)(C++11)
(function) [edit]
fmaxfmaxffmaxl
(C++11)(C++11)(C++11)
(function) [edit]
fminfminffminl
(C++11)(C++11)(C++11)
(function) [edit]
fdimfdimffdiml
(C++11)(C++11)(C++11)
(function) [edit]
nannanfnanl
(C++11)(C++11)(C++11)
(function) [edit]
Exponential functions
expexpfexpl
(C++11)(C++11)
(function) [edit]
exp2exp2fexp2l
(C++11)(C++11)(C++11)
(function) [edit]
expm1expm1fexpm1l
(C++11)(C++11)(C++11)
(function) [edit]
loglogflogl
(C++11)(C++11)
(function) [edit]
log10log10flog10l
(C++11)(C++11)
(function) [edit]
log2log2flog2l
(C++11)(C++11)(C++11)
(function) [edit]
log1plog1pflog1pl
(C++11)(C++11)(C++11)
(function) [edit]
Power functions
powpowfpowl
(C++11)(C++11)
(function) [edit]
sqrtsqrtfsqrtl
(C++11)(C++11)
(function) [edit]
cbrtcbrtfcbrtl
(C++11)(C++11)(C++11)
(function) [edit]
hypothypotfhypotl
(C++11)(C++11)(C++11)
+y2
), (√x2
+y2
+z2
)(since C++17)
(function) [edit]
Trigonometric functions
sinsinfsinl
(C++11)(C++11)
(function) [edit]
coscosfcosl
(C++11)(C++11)
(function) [edit]
tantanftanl
(C++11)(C++11)
(function) [edit]
asinasinfasinl
(C++11)(C++11)
(function) [edit]
acosacosfacosl
(C++11)(C++11)
(function) [edit]
atanatanfatanl
(C++11)(C++11)
(function) [edit]
atan2atan2fatan2l
(C++11)(C++11)
(function) [edit]
Hyperbolic functions
sinhsinhfsinhl
(C++11)(C++11)
(function) [edit]
coshcoshfcoshl
(C++11)(C++11)
(function) [edit]
tanhtanhftanhl
(C++11)(C++11)
(function) [edit]
asinhasinhfasinhl
(C++11)(C++11)(C++11)
(function) [edit]
acoshacoshfacoshl
(C++11)(C++11)(C++11)
(function) [edit]
atanhatanhfatanhl
(C++11)(C++11)(C++11)
(function) [edit]
Error and gamma functions
erferfferfl
(C++11)(C++11)(C++11)
(function) [edit]
erfcerfcferfcl
(C++11)(C++11)(C++11)
(function) [edit]
tgammatgammaftgammal
(C++11)(C++11)(C++11)
(function) [edit]
lgammalgammaflgammal
(C++11)(C++11)(C++11)
(function) [edit]
Nearest integer floating point operations
ceilceilfceill
(C++11)(C++11)
(function) [edit]
floorfloorffloorl
(C++11)(C++11)
(function) [edit]
trunctruncftruncl
(C++11)(C++11)(C++11)
(function) [edit]
roundroundfroundllroundlroundflroundlllroundllroundfllroundl
(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)
(function) [edit]
nearbyintnearbyintfnearbyintl
(C++11)(C++11)(C++11)
(function) [edit]
rintrintfrintllrintlrintflrintlllrintllrintfllrintl
(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)
exception if the result differs
(function) [edit]
Floating point manipulation functions
frexpfrexpffrexpl
(C++11)(C++11)
(function) [edit]
ldexpldexpfldexpl
(C++11)(C++11)
(function) [edit]
modfmodffmodfl
(C++11)(C++11)
(function) [edit]
scalbnscalbnfscalbnlscalblnscalblnfscalblnl
(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)
(function) [edit]
ilogbilogbfilogbl
(C++11)(C++11)(C++11)
(function) [edit]
logblogbflogbl
(C++11)(C++11)(C++11)
(function) [edit]
nextafternextafterfnextafterlnexttowardnexttowardfnexttowardl
(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)
(function) [edit]
copysigncopysignfcopysignl
(C++11)(C++11)(C++11)
(function) [edit]
Classification and comparison
fpclassify
(C++11)
(function) [edit]
isfinite
(C++11)
(function) [edit]
isinf
(C++11)
(function) [edit]
isnan
(C++11)
(function) [edit]
isnormal
(C++11)
(function) [edit]
signbit
(C++11)
(function) [edit]
isgreater
(C++11)
(function) [edit]
isgreaterequal
(C++11)
(function) [edit]
isless
(C++11)
(function) [edit]
islessequal
(C++11)
(function) [edit]
islessgreater
(C++11)
(function) [edit]
isunordered
(C++11)
(function) [edit]
Defined in header <cstdlib>
div_t
(typedef) [edit]
ldiv_t
(typedef) [edit]
lldiv_t
(C++11)
(typedef) [edit]
Defined in header <cinttypes>
imaxdiv_t
(C++11)
(typedef) [edit]
Defined in header <cmath>
float_t
(C++11)
(typedef) [edit]
double_t
(C++11)
(typedef) [edit]
Defined in header <cmath>
HUGE_VALFHUGE_VALHUGE_VALL
(C++11)(C++11)
(macro constant) [edit]
INFINITY
(C++11)
(macro constant) [edit]
NAN
(C++11)
(macro constant) [edit]
math_errhandlingMATH_ERRNOMATH_ERREXCEPT
(C++11)(C++11)(C++11)
(macro constant) [edit]
Classification
FP_NORMALFP_SUBNORMALFP_ZEROFP_INFINITEFP_NAN
(C++11)(C++11)(C++11)(C++11)(C++11)
(macro constant) [edit]
C documentation for Common mathematical functions