Compute Fibonacci numbers by recursive inclusion. More...
Go to the source code of this file.
Functions | |
constexpr | __EXPAND_DEC_U__ (-1U) Fibonacci[__NARGS__(FIBONACCI())] |
Compute Fibonacci numbers by recursive inclusion.
This shows how real recursive inclusion can be easily with tools like gather and move, and by evaluating expressions by means of expand and __EXPAND_DEC_U__ (expand, decimal, unsigned).
See the source code by following the link above and the result in a compact view by simply launching
If you want to see how the compiler would see a file preprocess by ellipsis-gnuc.sh
The output here is annotated by directives with the source line number. Here, since most of the numbers come from the same source line this just resets the current line number to that same number again and again.
|
constexpr |