What is Nostr?
Harold Aptroot /
npub1znz…6jps
2024-12-20 18:22:53

Harold Aptroot on Nostr: Let's say you have a 4-input ternlog that takes the LUT as a variable, let's call it ...

Let's say you have a 4-input ternlog that takes the LUT as a variable, let's call it ternlogvb.

ternlogvb(0xF0, 0xCC, 0xAA, x) just maps x (a byte) to itself. Those masks probably look familiar: 0..7 but transposed. If you permute that transposed list, you permute the bits of x.
Author Public Key
npub1znzqu4cjdy4seg9llmysg5p37z2c38qsvy53asl2j0e756cf6als0x6jps