Talk:Greatest common divisor: Difference between revisions

m
→‎REXX Version 1: commented on correction and gcd(0,0) definition. -- ~~~~
m (→‎errors in programs: added Wikipedia citation of defintion of gcd(0,0)=0. -- ~~~~)
m (→‎REXX Version 1: commented on correction and gcd(0,0) definition. -- ~~~~)
Line 27:
:the GCD of 7 and 0 is 7
--[[User:Walterpachl|Walterpachl]] 12:06, 17 August 2012 (UTC)
 
Cases of zero have been corrected (the GCD subroutine was exiting instead of processing more arguments). The special case of gcd(0,0) can be defined to be 0, or ''undefined''. Zero was choosen. -- [[User:Gerard Schildberger|Gerard Schildberger]] 17:08, 17 August 2012 (UTC)
 
== PL/I ==