diff options
author | Pierre Blanchard <pierre.blanchard@arm.com> | 2020-10-29 15:50:19 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-10-29 16:36:28 +0000 |
commit | 1a79237df2fc1020ccce8528ed54977681302752 (patch) | |
tree | ecc2bbb51711e7cd12e36658e9f3c47d401b8139 /math/test/ulp.c | |
parent | 0f4ae0c5b561de25acb10130fd5e473ec038f89d (diff) | |
download | arm-optimized-routines-1a79237df2fc1020ccce8528ed54977681302752.tar.gz |
math: add scalar erff.
In round-to-nearest mode the maximum error is 1.09 ULP.
Compared to glibc-2.28 erff: throughput is about 2.2x better,
latency is about 1.5x better on some AArch64 cores (on random
input in [-4,4]).
There are further optimization and quality improvement opportunities.
Diffstat (limited to 'math/test/ulp.c')
-rw-r--r-- | math/test/ulp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/math/test/ulp.c b/math/test/ulp.c index 371567a..3701c93 100644 --- a/math/test/ulp.c +++ b/math/test/ulp.c @@ -331,6 +331,7 @@ static const struct fun fun[] = { F1 (log) F1 (log2) F2 (pow) + F1 (erf) D1 (exp) D1 (exp2) D1 (log) |