While I sympathize with the desire to make "integer" mean "mathematical 
integer," I don't think it's going to work out very well. Nobody actually cares 
about such functions, and you of course have the WATs of

```js
Number.isInteger(9007199254740992.5) === true
```

since the runtime couldn't distinguish this from `9007199254740992`.

In practice all this ends up doing is forcing our currently-proposed useful 
functions/constants to have an "exact"/"EXACT" inserted into them.

I think it would be easier just to accept that "integer" in JS does not mean 
"mathematical integer" but instead means "unambiguously representable integer," 
since that is operationally the useful definition.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to