« Bugzilla Issues Index
#4230 — 22.2.3.25 %TypedArray%.prototype.sort: Sort -0 before +0 ?
- bug_id:
4230
- creation_ts:
2015-03-27 07:36:00 -0700
- short_desc:
22.2.3.25 %TypedArray%.prototype.sort: Sort -0 before +0 ?
- delta_ts:
2015-04-03 12:35:35 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 36: March 17, 2015 Release Candidate 3
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
13947
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-03-27 07:36:27 -0700
22.2.3.25 %TypedArray%.prototype.sort ( comparefn )
TypedArray SortCompare currently does not specify that -0 is sorted before +0 (but implementations are allowed to do so, because the sort is not stable).
I'm not sure if this is an oversight or the expected behaviour.
- commentid:
14000
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-01 12:17:43 -0700
fixed in rev37 editor's draft
oversight
- commentid:
14080
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-03 12:35:35 -0700
In Rev37