The sign function is often called "signum" in numerical libraries.
Wikipedia says it's to avoid confusion with the sine function. @
en.wikipedia.org/wiki/Sign_function
Also, in the Complex plane, the sign function's range is on the circle of
Unit Magnitude (UM). Which is kind of neat.
Rename Math.sign as Math.signum ??
The sign function is often called "signum" in numerical libraries.
Wikipedia says it's to avoid confusion with the sine function. @
http://en.wikipedia.org/wiki/Sign_function
Also, in the Complex plane, the sign function's range is on the circle of
Unit Magnitude (UM). Which is kind of neat.
Rename Math.sign as Math.signum ??
The sign function is often called "signum" in numerical libraries. Wikipedia says it's to avoid confusion with the sine function. @ en.wikipedia.org/wiki/Sign_function
Also, in the Complex plane, the sign function's range is on the circle of Unit Magnitude (UM). Which is kind of neat.