Re:What's the difference between 0/0 and 1/0?
by strainer on Friday May 24, 2019 @07:22PM
(#20006133)
This is not only javascripts behavior, it is the IEEE standard for floating-point arithmetic which most modern hardware and software strictly adheres to.
Re:What's the difference between 0/0 and 1/0?
by stOneskull on Friday May 24, 2019 @11:47PM
(#20006985)
-0 is my favorite number
Re:What's the difference between 0/0 and 1/0?
by dylan604 on Friday May 24, 2019 @07:35PM
(#20006176)
This should be part of an update to the Destroy All Software's Wat video: https://www.destroyallsoftware.com/talks/wat
An interesting thing is they have the value -0 so you can set a=-0 and 1/a returns -Infinity.