Talk:Arithmetic/Integer: Difference between revisions

Content added Content deleted
(→‎Rexx: new section)
(→‎Rexx: added comment about sign of remainder, not quotient. -- ~~~~)
Line 10: Line 10:


should this "(sign from 2nd operand)" be "(sign from 1st operand)" --[[User:Walterpachl|Walterpachl]] 18:15, 26 August 2012 (UTC)
should this "(sign from 2nd operand)" be "(sign from 1st operand)" --[[User:Walterpachl|Walterpachl]] 18:15, 26 August 2012 (UTC)

: Yes, I wrongly referred to the quotient instead of the remainder. The sign of the result (for division) is taken from the 2nd operand (the divisor), the remainder's sign is taken from the 1st operand. I'll change the comment in the output to reflect this. -- [[User:Gerard Schildberger|Gerard Schildberger]] 18:30, 26 August 2012 (UTC)