cppreference.com > Standard C Math
Standard C Math

Display all entries for Standard C Math on one page, or view entries individually:

absabsolute value
acosarc cosine
asinarc sine
atanarc tangent
atan2arc tangent, using signs to determine quadrants
ceilthe smallest integer not less than a certain value
coscosine
coshhyperbolic cosine
divreturns the quotient and remainder of a division
expreturns "e" raised to a given power
fabsabsolute value for floating-point numbers
floorreturns the largest integer not greater than a given value
fmodreturns the remainder of a division
frexpdecomposes a number into scientific notation
labsabsolute value for long integers
ldexpcomputes a number in scientific notation
ldivreturns the quotient and remainder of a division, in long integer form
lognatural logarithm
log10natural logarithm, in base 10
modfdecomposes a number into integer and fractional parts
powreturns a given number raised to another number
sinsine
sinhhyperbolic sine
sqrtsquare root
tantangent
tanhhyperbolic tangent