aboutsummaryrefslogtreecommitdiff
path: root/math/s_sinf.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2019-08-09 15:39:09 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2019-10-14 11:58:53 +0100
commitc5cba8528da13fe0d647dbd0f80d0cf21434b224 (patch)
treefe2dfbc6732ee358a011073e39adf4d36c71a86a /math/s_sinf.c
parentc280e49d7b1d1987e75de0e0e57a63ee7167ad5f (diff)
downloadarm-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.c6
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"