Template:Gcd

From blackwiki
Revision as of 17:25, 3 August 2007 by imported>Ezhiki (+brief doc)
Jump to navigation Jump to search

This template calculates the greatest common divisor (gcd) of two parameters. It returns the value of gcd. Zero is returned when calculation is too complex (this implementation only allows for six iterations of the Euclidean algorithm).