Skip to content

Commit c13d046

Browse files
Normalize negative zero
1 parent 1b311f3 commit c13d046

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6336,6 +6336,9 @@ steps may throw an exception.
63366336
: If [=ECMAScript/Type=](|input|) is Number
63376337
::
63386338
1. If |input| is NaN then return invalid.
6339+
6340+
1. If |input| is -0 (negative zero), then return a new [=/key=] with [=key/type=] *number* and [=key/value=] 0 (zero).
6341+
63396342
1. Otherwise, return a new [=/key=] with
63406343
[=key/type=] *number* and [=key/value=]
63416344
|input|.
@@ -6716,6 +6719,7 @@ For the revision history of the second edition, see [that document's Revision Hi
67166719
* Specified the {{DOMException}} type for failures when reading a value from the underlying storage in [[#object-store-retrieval-operation]]. (<#423>)
67176720
* Updated [=convert a value to a key=] to return invalid for detached array buffers. (<#417>)
67186721
* Updated {{IDBFactory/open()}} to set its request's [=request/processed flag=] to true.
6722+
* Added normalization for negative zero for keys. (<#375>)
67196723

67206724
<!-- ============================================================ -->
67216725
# Acknowledgements # {#acknowledgements}

0 commit comments

Comments
 (0)