Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tuix
· 10y ago · 0 comments
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.
Comments
[–]
robertelder
10y ago
Thanks, I modified it from an example one but introduced some mistakes. I've corrected it and tested it this time.