Skip to content

Commit b64a5b4

Browse files
committed
Add Math.pow issue in Firefox
1 parent 41bbbc6 commit b64a5b4

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/native_math_bugs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
* [Predictable `Math.random` in WebKit][@bug:chromium:246054]
3333
* [Desire for fastmath implementations][@bug:mozilla:681357]
3434
* [Mozilla `Math.round` issues][@bug:mozilla:686708]
35+
* [Mozilla `Math.pow` issues][@bug:mozilla:703611]
3536

3637

3738
* [If `Math.floor` provided `-0`, V8 deoptimizes][19]
@@ -88,6 +89,7 @@
8889
[@bug:chromium:246054]: https://bugs.chromium.org/p/chromium/issues/detail?id=246054
8990
[@bug:mozilla:681357]: https://bugzilla.mozilla.org/show_bug.cgi?id=681357
9091
[@bug:mozilla:686708]: https://bugzilla.mozilla.org/show_bug.cgi?id=686708
92+
[@bug:mozilla:703611]: https://bugzilla.mozilla.org/show_bug.cgi?id=703611
9193

9294
[v8-issue-tracker]: https://bugs.chromium.org/p/v8/issues/list?can=1&q=math&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary%20HW%20OS%20Component%20Stars&num=100&start=100
9395
[webkit-issue-tracker]: https://bugs.webkit.org/buglist.cgi?quicksearch=math

docs/references/bugs.bib

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,12 @@ @misc{bug:mozilla:686708
245245
year = {2011}
246246
}
247247

248+
@misc{bug:mozilla:703611,
249+
abstract = {If x is -Infinity and y<0 and y is not an odd integer, the result is +0. Tamarin produces a -0 for this case. Code: print(Infinity/Math.pow(-Infinity, -2)); Output: -Infinity. Expected: Infinity},
250+
keywords = {math, javascript, mozilla, firefox, pow, power, exponentiation},
251+
notes = {},
252+
title = {{Math.pow(-Infinity, even int < 0) does not produce the correct value}},
253+
url = {https://bugzilla.mozilla.org/show_bug.cgi?id=703611},
254+
year = {2011}
255+
}
256+

0 commit comments

Comments
 (0)