On Friday, 24 May 2019 at 08:33:34 UTC, Ola Fosheim Grøstad wrote:

https://gist.github.com/run-dlang/9f29a83b7b6754da98993063029ef93c

I made an error here:

"return s*((1 - f)*QuarterSinTab[ai&511] + f*QuarterSinTab[(ai+1)&511]);"

Should of course be:

return s*((1 - f)*QuarterSinTab[ai&511] + f*QuarterSinTab[(ai&511)+1]);

However that does not impact the performance.

Reply via email to