3 ms·
No, those both yield +0. 0/(-x) would return -0, for all x > 0 Likewise, underflows on negative numbers would also return -0.
by MontyCarloHall 5y ago
No, those both yield +0.
0/(-x) would return -0, for all x > 0
Likewise, underflows on negative numbers would also return -0.
- thaumasiotes 5y ago> 0/(-x) would return -0, for all x > 0 I find this one a little weird, but it seems to be true. The more normal way to get -0 would be to divide a positive number by negative infinity, or a negative number by positive infinity.