Jeff Walden (2013-07-12T23:24:11.000Z)
domenic at domenicdenicola.com (2013-07-16T00:37:04.059Z)
On 07/12/2013 04:13 PM, Tab Atkins Jr. wrote: > If you don't agree with that reasoning, then I suppose you'd argue > that *all* numbers > 2^53 should return true, since they're all forced > into being represented as integers? All numbers >= 2^53 except Infinity, yes. I think "isInteger" implies the mathematical concept, with the only addition that it should pass -0. And while it would somewhat unfortunately diverge from the ToInteger spec operation, "toInteger" should imply the mathematical concept as well, and only produce values that are mathematical integers. ("toInteger" should probably convert -0 to -0 for consistency with "isInteger" on -0, but probably I could go either way here.)