Re:Elvish – An experimental Unix shell in Go
by bnegreve on Sunday July 27, 2014 @10:27AM
(#8092818)
I really like in-shell floating point operations.
But this:
Is not the correct answer - even as a limit - since the limit of 1 / x (when x -> 0) can be +Inf or -Inf.
[ Parent
| on HN ]
The 0 is a positive one.
> / 1 -0
-Inf
BTW this is just IEEE floating point.
Re:Elvish – An experimental Unix shell in Go
by bnegreve on Sunday July 27, 2014 @10:50AM
(#8092887)
Ah yes indeed [1], I didn't know.
[1] http://en.wikipedia.org/wiki/IEEE_floating_point#Exception_h...