The Mathematical Library
The
math
library comprises a standard set of mathematical functions, such as trigonometric functions (sin
, cos
, tan
, asin
, acos
, etc.), exponentiation and logarithms (exp
, log
, log10
), rounding functions (floor
, ceil
), max
, min
, plus a variable pi
. The mathematical library also defines the operator `
^
´ to work as the exponentiation operator.