News for hackers. Stuff that matters.
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:

    > / 1 0
   +Inf
Is not the correct answer - even as a limit - since the limit of 1 / x (when x -> 0) can be +Inf or -Inf.
Re:Elvish – An experimental Unix shell in Go by xiaq on Sunday July 27, 2014 @10:41AM (#8092874)
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)