Talk:Greatest common divisor: Difference between revisions
→REXX Version 1: new section
(added comments regarding errors and showing results for negative arguments. -- ~~~~) |
Walterpachl (talk | contribs) (→REXX Version 1: new section) |
||
Line 4:
<br> In that special case, the absolute value of the first argument should be returned.
<br><br>A number of examples don't show the results if either argument is negative.
== REXX Version 1 ==
These results seem to be wrong:
:the GCD of 14 and 0 and 7 is 14 should be 7
:the GCD of 0 and 7 is 0 should be 7
:the GCD of 0 and 0 is 0 should be ???
correct:
:the GCD of 7 and 0 is 7
--[[User:Walterpachl|Walterpachl]] 12:06, 17 August 2012 (UTC)
|