From: Tobias Oetiker Date: Wed, 1 Oct 2008 16:53:56 +0000 (+0000) Subject: lcd is actually gcd! X-Git-Tag: 1.4.0~290 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69f4033cc4e9f108b7f7260370b2ddcb32bb8aff;p=thirdparty%2Frrdtool-1.x.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 da3be8a6..a29e47d6 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)