Puzzle: what does "((x * 299 + 41) & 511) > 294" compute? Bonus points for explaining how it works.
@hhpapazian I might use this in a project I'm working on, as it's (probably) the fastest way of computing $(something) without using a LUT.
-
-
@raphlinus I thought in this age of ~$1/GB LUTs would be a non-issue. Glad they're not though! Makes people think. -
@hhpapazian@raphlinus e.g. wavetable synthesis is still faster with a sine table than computing it directly on a modern x86 CPU - 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.