News for hackers. Stuff that matters.
Re:Sin and Cos: The Programmer's Pals by sp332 on Tuesday March 06, 2018 @10:15AM (#16529297)
Logarithm too. I had written a fractal program in python, and one optimization for adding up a lot of logarithms was to multiply several values together first, then take the log of the batch. When I converted it to a shadertoy, I found that I could strip out the crufty batching code, converting hundreds of multiplies into logarithms with no noticeable change in performance.

There are no comments on this comment yet.