E
math::EEuler's number (2.71828...)
Mathematical constants and functions.
Emath::EEuler's number (2.71828...)
INFmath::INFPositive infinity
NANmath::NANNot-a-number
PImath::PIPi constant (3.14159...)
TAUmath::TAUTau (2π)
absmath::abs(x)Absolute value
atan2math::atan2(y, x)Two-argument arctangent
ceilmath::ceil(x)Ceiling (round up)
clampmath::clamp(x, lo, hi)Clamp value to range
cosmath::cos(x)Cosine
floormath::floor(x)Floor (round down)
is_infmath::is_inf(x)Check if infinite
is_nanmath::is_nan(x)Check if NaN
logmath::log(x)Natural logarithm
log10math::log10(x)Base-10 logarithm
log2math::log2(x)Base-2 logarithm
maxmath::max(a, b)Maximum of arguments
minmath::min(a, b)Minimum of arguments
powmath::pow(base, exp)Exponentiation
roundmath::round(x)Round to nearest
sinmath::sin(x)Sine
sqrtmath::sqrt(x)Square root
tanmath::tan(x)Tangent