]> git.ozlabs.org Git - ccan/blob - junkcode/tterribe@email.unc.edu-nmbrthry/gcd.h
tools/configurator: better descriptions for --autotools-style.
[ccan] / junkcode / tterribe@email.unc.edu-nmbrthry / gcd.h
1 #if !defined(_gcd_H)
2 # define _gcd_H (1)
3
4 /*Computes the gcd of two integers, _a and _b.
5   _a: The first integer of which to compute the gcd.
6   _b: The second integer of which to compute the gcd.
7   Return: The non-negative gcd of _a and _b.
8           If _a and _b are both 0, then 0 is returned, though in reality the
9            gcd is undefined, as any integer, no matter how large, will divide 0
10            evenly.*/
11 int gcd(int _a,int _b);
12
13 #endif