diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-08-09 15:39:09 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-10-14 11:58:53 +0100 |
commit | c5cba8528da13fe0d647dbd0f80d0cf21434b224 (patch) | |
tree | fe2dfbc6732ee358a011073e39adf4d36c71a86a /math/s_sinf.c | |
parent | c280e49d7b1d1987e75de0e0e57a63ee7167ad5f (diff) | |
download | arm-optimized-routines-c5cba8528da13fe0d647dbd0f80d0cf21434b224.tar.gz |
Add vector sinf and cosf
The polynomials were produced by searching the coefficient space using
heuristics and ideas from https://arxiv.org/abs/1508.03211
The worst-case error is 1.886 ulp, large inputs (> 2^20) and other
special cases use scalar sinf and cosf.
Diffstat (limited to 'math/s_sinf.c')
-rw-r--r-- | math/s_sinf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/math/s_sinf.c b/math/s_sinf.c new file mode 100644 index 0000000..68ca908 --- /dev/null +++ b/math/s_sinf.c @@ -0,0 +1,6 @@ +/* + * Copyright (c) 2019, Arm Limited. + * SPDX-License-Identifier: MIT + */ +#define SCALAR 1 +#include "v_sinf.c" |