in reply to Re^4: Spaceship Zero
in thread Spaceship Zero
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Spaceship Zero (real)
by tye (Sage) on Nov 10, 2008 at 17:16 UTC | |
by ikegami (Patriarch) on Nov 10, 2008 at 17:33 UTC |