The function gcd computes the greatest common divisor of two values.
#include <CGAL/number_utils.h>
|
| |
computes the greatest common divisor of two numbers. If ntval1 is
0, the function returns ntval2. Precondition: : ntval2 is not zero. |
Uses Euclid's algorithm.