Skip to content
/ binom Public

C macro that computes binominal coefficient at compile time

License

Notifications You must be signed in to change notification settings

kcning/binom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BINOM

BINOM is a macro that computes binominal coefficient at compile time. This macro is not meant to be used in practice because of slow speed of recursive macro.

Nevertheless, it shows the capability of C preprocessor and isn't it cool? ;)

BINOM is inspired by the following material:

  1. Cloak
  2. C/C++ preprocessor metaprogramming

About

C macro that computes binominal coefficient at compile time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages