Re:How does your programming language handle “minus zero” (-...
by chrisseaton on Friday March 05, 2021 @07:25AM
(#26356049)
I don't understand what you think a result could look like here that does distinguish the sign? What are you expecting? -2.0? That doesn't make any sense. 2.0 is the correct answer under all circumstances as far as I can see.
[ Parent
| on HN ]
There are no comments on this comment yet.