Popup Tip Table
HOME   PHOTOS   PORTFOLIO   BLOG
Hilarious Comment on Programming Stupidites PageFebruary 10, 2017I was reading a bunch of funny programming related stories on a page dedicated to programing stupidities, and came across this: About four years ago, I was working on a project that, among other things, involved porting several million lines of code. While not technically real-time, the code needed to be reasonably fast. At one point, I found the following gem: unsigned long reverse(unsigned long theWord) {     unsigned long result = 0;     int i;     for (i = 0; i < 32; ++i) {         if (theWord & (unsigned long) pow(2.0, (double) i))             result += (unsigned long)… (Read more on Dave's blog)
DAVE'S PORTFOLIO   BAILEY'S PORTFOLIO   RONNIE'S PORTFOLIO   Upload Designed by David Rector   DAVE'S RÉSUMÉ