by tlb · 17y ago · 0 comments
#ifdef NO_CLEVER_OPTIMIZATIONS
obvious version
#else
complicated fast version
#endif
It's good as documentation, good as a test case, and good for isolating weird problems like compiler optimization bugs.