Clarify integer and safe integer resolution
Rick Waldron
waldron.rick at gmail.com
Thu Aug 29 11:00:58 PDT 2013
At the last TC39 meeting we discussed the addition of the following
items[0]:
Number.MAX_SAFE_INTEGER = (2^53)-1
Number.isInteger
- Infinity => false
- NaN => false
- value !== truncated value => false
- -0 => true
Number.isSafeInteger
- -0 => true
This resolution of record doesn't include a consensus on these extensions
as defined, but IIRC there was consensus on Mark's proposal. Jeff Walden
noted[1] that there was no clear resolution and I apologize for this
oversight.
Rick
[0]
https://github.com/rwaldron/tc39-notes/blob/master/es6/2013-07/july-25.md#59-semantics-and-bounds-of-numberisinteger-and-numbermax_integer
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=885798#c12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130829/babefc42/attachment.html>
More information about the es-discuss
mailing list