Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kcning/binom
C macro that computes binominal coefficient at compile time
https://github.com/kcning/binom
binominal-coefficient c macro preprocessor recursion
Last synced: 21 days ago
JSON representation
C macro that computes binominal coefficient at compile time
- Host: GitHub
- URL: https://github.com/kcning/binom
- Owner: kcning
- License: mit
- Created: 2017-04-10T14:55:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-26T09:13:57.000Z (over 7 years ago)
- Last Synced: 2024-02-17T10:37:09.952Z (10 months ago)
- Topics: binominal-coefficient, c, macro, preprocessor, recursion
- Language: C
- Homepage:
- Size: 1.5 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-c-preprocessor - `kcning/binom` - - C macro that computes binominal coefficient at compile time. (Other projects)
README
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](https://github.com/pfultz2/Cloak)
2. [C/C++ preprocessor metaprogramming](http://saadahmad.ca/cc-preprocessor-metaprogramming-2/)