]> git.ozlabs.org Git - ccan/blob - choose.h
254f64f903360f53eca18afe88de5da53064aef1
[ccan] / 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