From e72b2e6ba66f93761cbd9fc40ddd5a8ee8dfb07a Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Tue, 6 Mar 2018 08:41:56 +0100 Subject: [PATCH] [spec] Fix irem_s (#743) --- document/core/exec/numerics.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/document/core/exec/numerics.rst b/document/core/exec/numerics.rst index cd81a16d..efa583f4 100644 --- a/document/core/exec/numerics.rst +++ b/document/core/exec/numerics.rst @@ -291,7 +291,8 @@ The integer result of predicates -- i.e., :ref:`tests ` and :ref: .. math:: \begin{array}{@{}lcll} \irems_N(i_1, 0) &=& \{\} \\ - \irems_N(i_1, i_2) &=& \signed_N^{-1}(i_1 - i_2 \cdot \trunc(\signed_N(i_1) / \signed_N(i_2))) \\ + \irems_N(i_1, i_2) &=& \signed_N^{-1}(j_1 - j_2 \cdot \trunc(j_1 / j_2)) \\ + && (\where j_1 = \signed_N(i_1) \wedge j_2 = \signed_N(i_2)) \\ \end{array} .. note::