Function that switches between run-time and compile-time evaluation

Code



Application output:

Literal : fib(78) == 375819880 CT known: fib(84) == 160500643816367088 Runtime : fib(40) == 102334155 Times: 0 ms, 0 ms, 4393 ms

Paste info


Author: mleise
Views: 410
Private: no
Expires: Never
Uploaded: 07.08.12 19:42
Votes: 0

Compilation


Compiler: DMD 2.065.
Pointer size: m64