I can see where you're going with this; pull out the sign and then do something based on the sign. But in all honesty, negative numbers are fine; unless it's negative zero, be it -0.0 or -0.00000000.
An unsigned float would've nipped this problem in the bud.
In reply to Re^2: Negative zero? There's gotta be a sprintf that undoes that, right?
by rgiskard
in thread Negative zero? There's gotta be a sprintf that undoes that, right?
by rgiskard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |