Login  Register

When one zero is just not enough: JavaScript’s two zeros

Posted by Owen Densmore on Oct 05, 2013; 4:18pm
URL: http://friam.383.s1.nabble.com/When-one-zero-is-just-not-enough-JavaScript-s-two-zeros-tp7583996.html

This series on numerics is both useful and entertaining!  Believe it or not, JS has +/- 0.
   
http://www.2ality.com/2012/03/signedzero.html
It may seem weird but it does come up in some cases.

A possibly more important part of the series is just what IS an integer in JS.  Most of us consider it a 32 bit integer but that's not the case:


   -- Owen


============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com