]> code.delx.au - pulseaudio/commit
tests: Allow off-by-one error in sconv test
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 26 Oct 2012 11:09:11 +0000 (16:39 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 29 Oct 2012 09:06:33 +0000 (14:36 +0530)
commit32b4e848aeddaf1dc57a6fbb9327df216162a410
treeea0ef6dcab80013caca5bde889ca7ffb9ec327f1
parent1a8ec3c3e05f0f085c6831ee46205c1238fd2a08
tests: Allow off-by-one error in sconv test

With some optimised sconv implementations (read NEON), rounding
inaccuracy might lead to a difference of 1 with the reference
implementation. The inaccuracy is worth the performance gain.

Also increases floating-point accuracy while printing errors to make
errors easier to analyse.
src/tests/cpu-test.c