previous | start | next

Arithmetic (cmath Library Functions)

Function
Description
sqrt(x)
square root of x
pow(x, y)
xy
sin(x)
sine of x (in radians)
cos(x)
cosine of x (in radians)
tan(x)
tangent of x (in radians)
exp(x)
ex
log(x)
(natural log) ln(x), x > 0
log10(x)
(decimal log) lg(x), x > 0
ceil(x)
smallest integer >= x
floor(x)
largest integer <= x
fabs(x)
absolute value |x|


previous | start | next