Hacker News new | past | comments | ask | show | 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.




Applications are open for YC Summer 2023

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: