You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conversion: Let S be the set of finite IEEE 754 double-precision floating-point values except −0, but with two special values added: 21024 and −21024.
Let rounded-value be the number in S that is closest to value, selecting the number with an even significand if there are two equally close values. (The two special values 21024 and −21024 are considered to have even significands for this purpose.)
If rounded-value is 21024 or −21024, return an error.
But −21024 = 21024, because the power exponent is an even number.
"−21024" should be write "−(21024)" or "21024 * -1" for more accurately.
The text was updated successfully, but these errors were encountered:
I suppose we can make sure to clarify this as part of whatwg/infra#87 with an example or some such, to explain that we mean it in the mathematical sense.
Sorry, I was misunderstand it as "-32 = 9" in mathematically.
I suppose we can make sure to clarify this as part of whatwg/infra#87 with an example or some such, to explain that we mean it in the mathematical sense.
I don't think we need to repeat mathematical notation in Infra; this is so well-established that I'd rather leave it to places like Wikipedia or math textbooks.
I was thinking that it might be worth an example due to the potential for confusion with some programming languages and folks copy-and-pasting these numbers mostly into programming languages and not Mathematica.
https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#rules-for-parsing-floating-point-number-values
But −21024 = 21024, because the power exponent is an even number.
"−21024" should be write "−(21024)" or "21024 * -1" for more accurately.
The text was updated successfully, but these errors were encountered: