Skip to content

Commit 976b8ed

Browse files
committed
Add Chrome issue to unify Math.pow implementation
1 parent 03f0289 commit 976b8ed

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

docs/native_math_bugs.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@
4545
* [Mozilla debate on speed versus precision][@bug:mozilla:967709]
4646
* [Mozilla division bug to due C library delegation][@bug:mozilla:948321]
4747
* [Fixit to unify Math implementations in Chrome][@bug:v8:5086]
48-
49-
50-
* [Fixit to unify Math.pow implementation in Chrome][31]
48+
* [Fixit to unify `Math.pow` implementation in Chrome][@bug:v8:5157]
5149

5250

5351
## Notes
@@ -102,13 +100,10 @@
102100
[@bug:mozilla:967709]: https://bugzilla.mozilla.org/show_bug.cgi?id=967709
103101
[@bug:mozilla:948321]: https://bugzilla.mozilla.org/show_bug.cgi?id=948321
104102
[@bug:v8:5086]: https://bugs.chromium.org/p/v8/issues/detail?id=5086
105-
103+
[@bug:v8:5157]: https://bugs.chromium.org/p/v8/issues/detail?id=5157
106104

107105
[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
108106
[webkit-issue-tracker]: https://bugs.webkit.org/buglist.cgi?quicksearch=math
109107
[mozilla-issue-tracker]: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=math
110108

111-
112-
[31]: https://bugs.chromium.org/p/v8/issues/detail?id=5157
113-
114109
<!-- </links> -->

docs/references/bugs.bib

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,3 +362,12 @@ @misc{bug:v8:5086
362362
year = {2016}
363363
}
364364

365+
@misc{bug:v8:5157,
366+
abstract = {Similar to what we did with the other Math builtins, we should have a single, uniform C++ implementation for Math.pow, maybe consisting of two parts, pow(double,double) and powi(double,int). The main complication here is that Math.pow is highly optimized and if we regress it even slightly we will eventually tank the imaging-darkroom benchmark in Kraken, which is essentially a microbenchmark for Math.pow.},
367+
keywords = {math, javascript, v8, chrome, pow, power, exponentiation},
368+
notes = {},
369+
title = {{Unify the implementation of Math.pow}},
370+
url = {https://bugs.chromium.org/p/v8/issues/detail?id=5157},
371+
year = {2016}
372+
}
373+

0 commit comments

Comments
 (0)