Fast and robust exp() approximation (in: DSP and Plugin Devel…)

By: diroxe7660
27 Sep 13:45

I’ve been using the approximation from github.com/jhjourdan/SIMD-math-prims/ – rewritten in Estrin’s scheme. I’m limiting to SSE2 for plugin compatability, here’s a quick test run:

[code]Range [-1.0 .. 1.0], 10000000 steps

exp_fast_par:
Max Absolute Error: 1.0542498051e-05
Max Relative Error: 4.6088473002e-06

simd:
Max Absolute Error: 5.7241225093e-09
Max Relative Error: 2.2186807137e-09

—

Range [-10 .. 10], 10000000 steps

exp_fast_par:
Max Absolute Error: 8.1882873925e-02
Max Re…

Go to this post

Go to first unread post in this topic

Read more here: Source link