You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spec.html
+7-6
Original file line number
Diff line number
Diff line change
@@ -43341,6 +43341,7 @@ <h1>Notation</h1>
43341
43341
<p>To aid verifying that a read-modify-write modification function's algorithm steps constitute a pure, mathematical function, the following editorial conventions are recommended:</p>
43342
43342
<ul>
43343
43343
<li>They do not access, directly or transitively via invoked abstract operations and abstract closures, any language or specification values except their parameters and captured values.</li>
43344
+
<li>They do not invoke, directly or transitively, abstract operations and abstract closures that return Completion Records.</li>
<p>This function performs the following steps when called:</p>
45438
45439
<emu-alg>
45439
-
1. Let _type_ be TypedArrayElementType(_typedArray_).
45440
-
1. Let _isLittleEndian_ be the value of the [[LittleEndian]] field of the surrounding agent's Agent Record.
45441
-
1. Let _add_ be a new read-modify-write modification function with parameters (_xBytes_, _yBytes_) that captures _type_ and _isLittleEndian_ and performs the following steps atomically when called:
45440
+
1. Let _add_ be a new read-modify-write modification function with parameters (_xBytes_, _yBytes_) that captures _typedArray_ and performs the following steps atomically when called:
45441
+
1. Let _type_ be TypedArrayElementType(_typedArray_).
45442
+
1. Let _isLittleEndian_ be the value of the [[LittleEndian]] field of the surrounding agent's Agent Record.
45442
45443
1. Let _x_ be RawBytesToNumeric(_type_, _xBytes_, _isLittleEndian_).
45443
45444
1. Let _y_ be RawBytesToNumeric(_type_, _yBytes_, _isLittleEndian_).
<p>This function performs the following steps when called:</p>
45564
45565
<emu-alg>
45565
-
1. Let _type_ be TypedArrayElementType(_typedArray_).
45566
-
1. Let _isLittleEndian_ be the value of the [[LittleEndian]] field of the surrounding agent's Agent Record.
45567
-
1. Let _subtract_ be a new read-modify-write modification function with parameters (_xBytes_, _yBytes_) that captures _type_ and _isLittleEndian_ and performs the following steps atomically when called:
45566
+
1. Let _subtract_ be a new read-modify-write modification function with parameters (_xBytes_, _yBytes_) that captures _typedArray_ and performs the following steps atomically when called:
45567
+
1. Let _type_ be TypedArrayElementType(_typedArray_).
45568
+
1. Let _isLittleEndian_ be the value of the [[LittleEndian]] field of the surrounding agent's Agent Record.
45568
45569
1. Let _x_ be RawBytesToNumeric(_type_, _xBytes_, _isLittleEndian_).
45569
45570
1. Let _y_ be RawBytesToNumeric(_type_, _yBytes_, _isLittleEndian_).
0 commit comments