From: oetiker Date: Wed, 1 Oct 2008 16:53:56 +0000 (+0000) Subject: lcd is actually gcd! X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0ec4b184aeb5413485508eec9e86720722acaba2;p=rrdtool-all.git lcd is actually gcd! git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1552 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index da3be8a6..a29e47d6 100644 --- a/program/src/rrd_graph.c +++ b/program/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)