-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indeterminate forms #110
Comments
Right, Extended Mathematical Values is what was intended. Good spot. Do I understand the point about indeterminate forms correctly that comparing a |
One can ask whether a real number is less than the Extended Mathematical Value +∞, but the question of whether an Extended Mathematical Value +∞ is equal, less than, or greater than an Extended Mathematical Value +∞ is an indeterminate form and has no well-defined answer. There are mathematical systems, for example ordinal numbers, that allow one to rank and compare mathematical infinities, but the ECMAScript spec does not use them. The spec does not say which kind of mathematical infinity +∞ is, and anything that relies on an answer to that question is considered a spec error. |
related to #116 |
This has been taken care of now (mainly in #158), where we handle NaNs and infinities properly. |
Editorial bugs: In a number of places the proposal mentions converting Decimal ±∞ to Mathematical Values. That's forbidden by the current ECMAScript spec. Those can be converted to Extended Mathematical Values, but then the proposal mentions performing operations that can produce indeterminate forms such as equality, which are also not allowed.
The text was updated successfully, but these errors were encountered: