On Tue, 19 Jan 2021 11:40:34 -0600, John Ganci wrote:
>    ...
>"The sign of the quotient is determined by the rules of algebra. The sign of 
>the remainder has the same value as the dividend sign. These rules hold even 
>when the quotient or remainder is zero."
>
Does this guarantee the conventional A % D * D + A // D == A, for all
four combinations of signs of A and D?

(Rexx operators: "%" for integer division; "//" for remainder.)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to