Remarks
- The
clz32
method is not supported in Internet Explorer or Safari
Constants
Remainder Modulus
Rounding
Trigonometry
Bitwise operators
Increment
Exponentiation Math.pow or
Random Integers and Floats
Addition
Simulating events with different probabilities
Little Big endian for typed arrays when using bitwise operators
Multiplication
Subtraction (-)
Random number inside a range
Decrementing (--)
Ceiling and floor
Math.atan2 to find direction of a vector