by kevinventullo · 1y ago · 0 comments
00011011 (27)
x 01010101 (-0.333...)
------------------------
11110111 (-9)
invert and add one:
00001001 (9, like we wanted)
I'd be interested in extending this to non-exact multiples, but if that's possible I don't know how.Indeed,
154*163 = 25102, and
25102 = 14 (mod 256).