C <math.h>

There are various standard library functions and a macro defined under math.h to perform mathematical operations in C programming. 

Library functions under "math.h"
FunctionWork of function
acosComputes arc cosine of the argument
acoshComputes hyperbolic arc cosine of the argument
asinComputes arc sine of the argument
asinhComputes hyperbolic arc sine of the argument
atanComputes arc tangent of the argument
atanhComputes hyperbolic arc tangent of the argument
atan2Computes arc tangent and determine the quadrant using sign
cbrtComputes cube root of the argument
ceilReturns nearest integer greater than argument passed
cosComputes the cosine of the argument
coshComputes the hyperbolic cosine of the argument
expComputes the e raised to given power
fabsComputes absolute argument of floating point argument
floorReturns nearest integer lower than the argument passed.
hypotComputes square root of sum of two arguments (Computes hypotenuse)
logComputes natural logarithm
log10Computes logarithm of base argument 10
powComputes the number raised to given power
sinComputes sine of the argument
sinhComputes hyperbolic sine of the argument
sqrtComputes square root of the argument
tanComputes tangent of the argument
tanhComputes hyperbolic tangent of the argument

There are some mathematical functions that aren't defined under <stdlib.h> instead of <math.h>. Be sure to check out <stdlib.h> if you want to learn about mathematical functions under this function.


In C programming, pow() function calculates the number raised to a power. Function pow() takes two arguments. The first argument is base number and second argument is power raised to the base number.

[Mathematics] xy = pow(x,y) [In programming]

Defined in Header File <math.h>

Syntax of pow(x,y)


Function pow() returns a value in type double.