Skip to content

Commit 7e23781

Browse files
committed
Add V8 deopt bug
1 parent 673dd0f commit 7e23781

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

docs/native_math_bugs.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
* [Mozilla `Math.round` issues][@bug:mozilla:686708]
3535
* [Mozilla `Math.pow` issue][@bug:mozilla:703611]
3636
* [Mozilla `Math.pow` issue][@bug:mozilla:1316557]
37+
* [V8 deoptimizes if `Math.floor` provided `-0`][@bug:v8:2890]
3738

3839

39-
* [If `Math.floor` provided `-0`, V8 deoptimizes][19]
4040
* [If `Math.ceil` provided `0`, V8 deoptimizes][20]
4141
* [Accuracy of `Math.round` in V8][21]
4242
* [Observability of distinguishable NaNs][22]
@@ -92,12 +92,13 @@
9292
[@bug:mozilla:686708]: https://bugzilla.mozilla.org/show_bug.cgi?id=686708
9393
[@bug:mozilla:703611]: https://bugzilla.mozilla.org/show_bug.cgi?id=703611
9494
[@bug:mozilla:1316557]: https://bugzilla.mozilla.org/show_bug.cgi?id=1316557
95+
[@bug:v8:2890]: https://bugs.chromium.org/p/v8/issues/detail?id=2890
9596

9697
[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
9798
[webkit-issue-tracker]: https://bugs.webkit.org/buglist.cgi?quicksearch=math
9899
[mozilla-issue-tracker]: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=math
99100

100-
[19]: https://bugs.chromium.org/p/v8/issues/detail?id=2890
101+
101102
[20]: https://bugs.chromium.org/p/v8/issues/detail?id=4059
102103
[21]: https://bugs.chromium.org/p/v8/issues/detail?id=958
103104
[22]: https://esdiscuss.org/topic/observability-of-nan-distinctions-is-this-a-concern

docs/references/bugs.bib

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,3 +263,12 @@ @misc{bug:mozilla:1316557
263263
year = {2016}
264264
}
265265

266+
@misc{bug:v8:2890,
267+
abstract = {Math.round and Math.floor can deopt on minus zero, but we do not learn anything from the deopt.},
268+
keywords = {math, javascript, v8, chrome,},
269+
notes = {},
270+
title = {{Deopt loops involving Math.round / Math.floor}},
271+
url = {https://bugs.chromium.org/p/v8/issues/detail?id=2890},
272+
year = {2013}
273+
}
274+

0 commit comments

Comments
 (0)