http://qs321.pair.com?node_id=722629


in reply to Re^3: Spaceship Zero
in thread Spaceship Zero

The sign function (for real numbers in mathematics) is defined in relation to numerical comparison to zero.

Any other meaning of sign refering to visual representations has little practical value, IMHO: should sgn("-(-1)") be -1 ?

So "returning the sign" as the "documented behaviour" for me matches exactly the behaviour of the spaceship zero