Claude Pache (2013-10-30T08:15:17.000Z)
domenic at domenicdenicola.com (2013-11-03T22:24:52.445Z)
`Math.sign` is expected to represent the mathematical sign function, which has a precise definition, see [1], [2]. Please note that `+0` and `-0` are the same value as far as maths is concerned, and that value is neither positive nor negative. (Or both nonnegative and nonpositive, if you prefer.) More generally, ES treats mathematically equal values as equal for any well-defined mathematical operation: doing otherwise would be new and unexpectedly complex (if you allow me to borrow your words). [1]: http://mathworld.wolfram.com/Sign.html [2]: https://en.wikipedia.org/wiki/Signum_function