]> git.ozlabs.org Git - ccan/blob - junkcode/tterribe@email.unc.edu-nmbrthry/choose.h
New junkcode from Tim.
[ccan] / junkcode / tterribe@email.unc.edu-nmbrthry / choose.h
1 #if !defined(_choose_H)
2 # define _choose_H (1)
3
4 /*Computes the number of combinations of _n items, taken _m at a time without
5    overflow.
6   _n: The total number of items.
7   _b: The number taken at a time.
8   Return: The number of combinations of _n items taken _m at a time.*/
9 unsigned choose(int _n,int _m);
10
11 #endif