Hacker News new | comments | show | ask | jobs | submit login

The Duff's device example is incorrect. In n%4, the value of n before n=(n+3)/4 should be used, not after that.



Thanks, I modified it from an example one but introduced some mistakes. I've corrected it and tested it this time.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: