logue-sdk icon indicating copy to clipboard operation
logue-sdk copied to clipboard

fastpow2f bug

Open dukesrg opened this issue 3 years ago • 1 comments

https://github.com/korginc/logue-sdk/blob/ab654af0e29e5eb6eab7289d05699b45417d1f68/platform/prologue/inc/utils/float_math.h#L680

Current fastpow2f suffer from the lost of precision. depending on the input value it could be times worse then with faster2f

offset must be applied like in the original verion https://github.com/pmineiro/fastapprox/blob/master/fastapprox/src/fastexp.h#L54

dukesrg avatar May 13 '21 19:05 dukesrg

@etienne-korg Please refer to this commit in my fork as current fastpow2f is imprecise https://github.com/dukesrg/logue-sdk/commit/8874c04e0f030d51378cff00a4061797d8a5b461

dukesrg avatar Nov 10 '22 15:11 dukesrg