twofingers Guru
 Joined: 02/06/2014 Location: GermanyPosts: 1102 |
Posted: 05:54pm 27 Jul 2022 |
|
|
|
@Peter a%=(b% * &H0202020202 and &H010884422010) mod 1023 works for 8 bits.
Yes, it is very fast (15us) ... for 8 bits.
But what if we need 64 bits?
Best regards Michael Edited 2022-07-28 03:57 by twofingers |