Re: [tim-janik/beast] BSE: bsemathsignal: add approximations: Bse::fast_log2 and Bse::fast_exp2 (#124)



On 10.09.19 23:54, Tim Janik via beast wrote:
Error samples, compared to LOG2L(3):

+0.0, -0.00000231613294631

Sorry, the first line was bogus, a "%+.1f" format string printed 0.01 as +0.0.

It should instead read:

Error samples, compared to LOG2L(3):

   +0.1, +0.00000000775829903
   +0.5, +0.00000000000000000
   +1.0, +0.00000000000000000
   +1.1, -0.00000181973000285
   +1.5, -0.00000130387210186
   +1.8, -0.00000312228549678
   +2.0, +0.00000000000000000
   +2.2, -0.00000181973000285
   +2.5, -0.00000140048214306
   +3.0, -0.00000130387210186
   +4.0, +0.00000000000000000
   +5.0, -0.00000140048214306
   +6.0, -0.00000130387210186
   +7.0, -0.00000312228549678
   +8.0, +0.00000000000000000
   +9.0, -0.00000084878575295
  +10.0, -0.00000140048214306
  +11.0, -0.00000368176020430
  +16.0, +0.00000000000000000
  +32.0, +0.00000000000000000
  +40.0, -0.00000140048214306
  +48.0, -0.00000130387210186
  +54.0, -0.00000149844406951
  +64.0, +0.00000000000000000
 +127.0, -0.00000162654178981
 +128.0, +0.00000000000000000



-- 
Yours sincerely,
Tim Janik

https://testbit.eu/timj
Free software author.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]