Skip to content

Commit

Permalink
[spec] Fix definition of iextend (#1696)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg authored Oct 24, 2023
1 parent be1f563 commit b39baf7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions document/core/exec/numerics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -715,11 +715,13 @@ The integer result of predicates -- i.e., :ref:`tests <syntax-testop>` and :ref:
:math:`\iextendMs_N(i)`
.......................

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

* Return :math:`\extends_{M,N}(j)`.

.. math::
\begin{array}{lll@{\qquad}l}
\iextendMs_{N}(i) &=& \extends_{M,N}(i) \\
\iextendMs_{N}(i) &=& \extends_{M,N}(\wrap_{N,M}(i)) \\
\end{array}
Expand Down

0 comments on commit b39baf7

Please sign in to comment.