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

Commit

Permalink
Typo in MathImul
Browse files Browse the repository at this point in the history
References x and y, but arguments passed in are called n and m in the h1.
  • Loading branch information
aylusltd committed Apr 22, 2016
1 parent 612e80b commit 37f5702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tc39/spec.html
Expand Up @@ -825,8 +825,8 @@ <h1>MathSqrt( x )</h1>
<emu-clause id="imul" aoid="MathImul">
<h1>MathImul(n, m)</h1>
<emu-alg>
1. Let _a_ be ToUint32(_x_).
1. Let _b_ be ToUint32(_y_).
1. Let _a_ be ToUint32(_n_).
1. Let _b_ be ToUint32(_m_).
1. Let _product_ be (_a_ × b) modulo 2<sup>32</sup>.
1. If _product_ ≥ 2<sup>31</sup>, return _product_ − 2<sup>32</sup>, otherwise return _product_.
</emu-alg>
Expand Down

0 comments on commit 37f5702

Please sign in to comment.