Bug 291074
| Summary: | Math.hypot with 3 arguments fails ES6 math tests on ARMv7 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Angelos Oikonomopoulos <angelos> |
| Component: | JavaScriptCore | Assignee: | Angelos Oikonomopoulos <angelos> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | iKonnyaku40, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Angelos Oikonomopoulos
We get a slight difference in one of the results.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Angelos Oikonomopoulos
Specifically, ES6MathAPIs.js fails with:
*** Running test #13 (12): hypot computes the square root of the sum of the squares of the arguments and follows spec on special boundary values
Test threw exception: assert.areEqual failed: expected: 1.7320508075688772e+308 actual: 1.7320508075688774e+308: hypot(1e308, 1e308, 1e308) = 1.732e308 and shouldn't cause NaN from premature overflow
Angelos Oikonomopoulos
Pull request: https://github.com/WebKit/WebKit/pull/43633
Radar WebKit Bug Importer
<rdar://problem/149055820>
EWS
Committed 294127@main (a06f333aa19d): <https://commits.webkit.org/294127@main>
Reviewed commits have been landed. Closing PR #43633 and removing active labels.