4 ms·
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.
by tuix 10y ago
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.
- robertelder 10y agoThanks, I modified it from an example one but introduced some mistakes. I've corrected it and tested it this time.