Talk:Arithmetic/Integer

From Rosetta Code
Revision as of 18:30, 26 August 2012 by rosettacode>Gerard Schildberger (→‎Rexx: added comment about sign of remainder, not quotient. -- ~~~~)

Why does this task require user input?

Requiring user input seems like task cruft to me. --Showell 02:08, 26 February 2012 (UTC)

Python

think it's missing the exponentiation operator "**" requested by Task.--Billymac00 04:12, 3 January 2011 (UTC)

Rexx

should this "(sign from 2nd operand)" be "(sign from 1st operand)" --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. -- Gerard Schildberger 18:30, 26 August 2012 (UTC)