Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Commit 37f5702

Browse files
committed
Typo in MathImul
References x and y, but arguments passed in are called n and m in the h1.
1 parent 612e80b commit 37f5702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tc39/spec.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,8 +825,8 @@ <h1>MathSqrt( x )</h1>
825825
<emu-clause id="imul" aoid="MathImul">
826826
<h1>MathImul(n, m)</h1>
827827
<emu-alg>
828-
1. Let _a_ be ToUint32(_x_).
829-
1. Let _b_ be ToUint32(_y_).
828+
1. Let _a_ be ToUint32(_n_).
829+
1. Let _b_ be ToUint32(_m_).
830830
1. Let _product_ be (_a_ × b) modulo 2<sup>32</sup>.
831831
1. If _product_ ≥ 2<sup>31</sup>, return _product_ − 2<sup>32</sup>, otherwise return _product_.
832832
</emu-alg>

0 commit comments

Comments
 (0)