|
|
|
|
|
by hawski
846 days ago
|
|
But still, why there is no absolute 0 - the third zero? I would prefer something like this: 1 / +0 == +inf
1 / -0 == -inf
1 / 0 == nan
abs(-0) == 0
But it is not possible as there is no unsigned/absolute zero: 0 means +0. I guess it makes things much simpler, but IMHO it makes it a bit less useful and strange. |
|