Open spotandjake opened 2 years ago
I'd also add:
lerp
(https://en.wikipedia.org/wiki/Linear_interpolation)atan2
(https://en.wikipedia.org/wiki/Atan2)exp
(https://en.wikipedia.org/wiki/Exponential_function)For logarithms it's useful to have three variants for most common bases: log2
, log10
and log
for the natural logarithm. Same for exp
.
Trigonometric functions should definitely take radians and conversion functions would be nice.
map
, clamp
and lerp
functions.
Add The Following Functions to the number Libary.