Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on One does not simply calculate the absolute value. Parent comment
The problem is that 0.0 == -0.0. As long as you don't take care of signed zero, you cannot guarantee that abs(x) has no negative sign.
There are no comments on this comment yet.
The problem is that 0.0 == -0.0. As long as you don't take care of signed zero, you cannot guarantee that abs(x) has no negative sign.