Snipplr
http://snipplr.com/language/c/tags/binary
Recent snippets posted on Snipplr.comen-usSun, 25 Jan 2015 15:20:11 GMT(C) Two Binary Search Functions in C - rtperson
http://snipplr.com/view/63046/two-binary-search-functions-in-c/
Two versions of binary search -- one recursive, one iterative -- for an array of strings.
Both assume that your array index fits within an integer. ]]>Sat, 04 Feb 2012 02:45:29 GMThttp://snipplr.com/view/63046/two-binary-search-functions-in-c/(C) convert int to binary in c - zava
http://snipplr.com/view/38251/convert-int-to-binary-in-c/
]]>Tue, 03 Aug 2010 04:09:07 GMThttp://snipplr.com/view/38251/convert-int-to-binary-in-c/(C) Binary GCD - s1m55r
http://snipplr.com/view/36332/binary-gcd/
Compute the GCD of two numbers ]]>Fri, 25 Jun 2010 18:46:42 GMThttp://snipplr.com/view/36332/binary-gcd/(C) Calculate binomial coefficient - s1m55r
http://snipplr.com/view/36143/calculate-binomial-coefficient/
Program to calculate large binomial coefficients efficiently. As long as the value fits into an unsigned long long int, the program should find it in a relatively short amount of time. ]]>Fri, 25 Jun 2010 05:48:40 GMThttp://snipplr.com/view/36143/calculate-binomial-coefficient/