You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java, Python, contemporary C implementations (and thus Lua), C++ implementations, Javascript all print -1e-308 / 1e308 as some variant of -0.0. I'm surprised about how uniform it is. (Not sure if it's part of the referenced numerics standards for C and C++, or if it's just wide-spread implementation practice.)
This prints "0". I expected it to print "~0", as SML/NJ does.
The text was updated successfully, but these errors were encountered: