From: oetiker Date: Wed, 1 Oct 2008 16:53:56 +0000 (+0000) Subject: lcd is actually gcd! X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=1d6a0cc17b84b1659efaba5b128d6bd522d77fd6;p=rrdtool.git lcd is actually gcd! git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1552 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index da3be8a..a29e47d 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -938,7 +938,7 @@ long find_var( return -1; } -/* find the largest common denominator for all the numbers +/* find the greatest common divisor for all the numbers in the 0 terminated num array */ long lcd( long *num)