News for hackers. Stuff that matters.
Re:JavaScript Coercions Grid by detaro on Saturday March 30, 2019 @10:11AM (#19529461)
I think -0 + 0 == 0 is correct IEEE 754 behavior too. Two numbers that only differ in the sign cancel out to +0 when added together.
Re:JavaScript Coercions Grid by lelf on Saturday March 30, 2019 @10:51AM (#19529677)
Yep, it is +0 under default rounding direction. But +0 == -0 anyway.