Expand description
Common utilities
Statics§
- EPSILON
- This is the difference between 1.0 and the next largest representable number.
- INFINITY
- Infinity (∞).
- NEG_
INFINITY - Negative infinity (-∞).
- PI
- Archimedes’ constant (π).
Functions§
- equals
- Tests whether or not the arguments have approximately the same value, within an absolute or relative tolerance of common::EPSILON (an absolute tolerance is used for values less than or equal to 1.0, and a relative tolerance is used for larger values).
- hypot
- The hypot function returns the square root of the sum of squares of the array elements.
- random_
f32 - A random f32 between 0-1.
- to_
radian - Convert Degree to Radian.