The OP didn't say sign function, he said sign of a number. In floating point numbers, every number including zero has a sign. -0 is a different number than 0. It's not a visual representation. It's used in underflows. n = 0 means 0 ≤ n < {smallest positive}. n = -0 means {smallest negative} < n ≤ 0
In reply to Re^5: Spaceship Zero
by ikegami
in thread Spaceship Zero
by Orchew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |