-
Notifications
You must be signed in to change notification settings - Fork 24
Math Library
The Math object contains the following functions.
abs(value: number): number
acos(d: number): number
asin(d: number): number
atan(d: number): number
atan2(x: number, y: number): number
ceiling(d: number): number
clamp(value: number, min: number, max: number): number
cos(d: number): number
cosh(d: number): number
exp(d: number): number
floor(d: number): number
log(d: number): number
log(d: number, b: number): number
log10(d: number): number
max(x: number, y: number): number
min(x: number, y: number): number
pow(x: number, y: number): number
round(d: number): number
sign(d: number): number
sin(d: number): number
sinh(d: number): number
sqrt(d: number): number
tan(d: number): number
tanh(d: number): number
truncate(d: number): number
The mathematical constant PI.
The mathematical constant E.