aboutsummaryrefslogtreecommitdiff
path: root/pl/math/v_tan_data.c
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 00:57:30 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 00:57:30 +0000
commit0edd6499aaed16bf45de92bb0ad1c729486ce6f4 (patch)
treeb6182e391304fb3a42c51d482dcf671f540f2363 /pl/math/v_tan_data.c
parentf2e7d2de0fe4c2bddb59992ba401391f38627a1e (diff)
parent172d24a7ae67ee7bae413d5a8618f1b5edc002be (diff)
downloadarm-optimized-routines-0edd6499aaed16bf45de92bb0ad1c729486ce6f4.tar.gz
Change-Id: I8753ae14d61308952964b5f87c7e48044f60727c
Diffstat (limited to 'pl/math/v_tan_data.c')
-rw-r--r--pl/math/v_tan_data.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/pl/math/v_tan_data.c b/pl/math/v_tan_data.c
new file mode 100644
index 0000000..04e2516
--- /dev/null
+++ b/pl/math/v_tan_data.c
@@ -0,0 +1,15 @@
+/*
+ * Coefficients and helpers for double-precision vector tan(x) function.
+ *
+ * Copyright (c) 2023, Arm Limited.
+ * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
+ */
+#include "math_config.h"
+
+const struct v_tan_data __v_tan_data
+ = {.neg_half_pi_hi = -0x1.921fb54442d18p0,
+ .neg_half_pi_lo = -0x1.1a62633145c07p-54,
+ .poly
+ = {0x1.5555555555556p-2, 0x1.1111111110a63p-3, 0x1.ba1ba1bb46414p-5,
+ 0x1.664f47e5b5445p-6, 0x1.226e5e5ecdfa3p-7, 0x1.d6c7ddbf87047p-9,
+ 0x1.7ea75d05b583ep-10, 0x1.289f22964a03cp-11, 0x1.4e4fd14147622p-12}};