Clarify integer and safe integer resolution

Allen Wirfs-Brock allen at wirfs-brock.com
Thu Aug 29 12:41:45 PDT 2013


The rev17 spec. draft includes th specification of these function based uopn my understanding of the agreement at the meeting.
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.7.2.8 
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.7.2.13 
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.7.2.14 

If anyone see any issues with these definitions then they should file some bugs.

Allen


 
On Aug 29, 2013, at 11:00 AM, Rick Waldron wrote:

> 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
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130829/7957226d/attachment.html>


More information about the es-discuss mailing list