Skip to content

Commit b39baf7

Browse files
authored
[spec] Fix definition of iextend (#1696)
1 parent be1f563 commit b39baf7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

document/core/exec/numerics.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,11 +715,13 @@ The integer result of predicates -- i.e., :ref:`tests <syntax-testop>` and :ref:
715715
:math:`\iextendMs_N(i)`
716716
.......................
717717

718-
* Return :math:`\extends_{M,N}(i)`.
718+
* Let :math:`j` be the result of computing :math:`\wrap_{N,M}(i)`.
719+
720+
* Return :math:`\extends_{M,N}(j)`.
719721

720722
.. math::
721723
\begin{array}{lll@{\qquad}l}
722-
\iextendMs_{N}(i) &=& \extends_{M,N}(i) \\
724+
\iextendMs_{N}(i) &=& \extends_{M,N}(\wrap_{N,M}(i)) \\
723725
\end{array}
724726
725727

0 commit comments

Comments
 (0)