Module math

Source

Constants§

EPSILON

Statics§

SIN

Functions§

binary_search
ceil_log2
cos
A cosine function that uses a lookup table.
fract
gcd
lcm
lerp
sign
Returns either -1, 0, or 1, depending on whether the number is negative, zero, or positive.
sign_as_int
sin
A sine function that uses a lookup table.
to_degrees
to_radians