aboutsummaryrefslogtreecommitdiff
path: root/pl/math/sv_logf_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'pl/math/sv_logf_data.c')
-rw-r--r--pl/math/sv_logf_data.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/pl/math/sv_logf_data.c b/pl/math/sv_logf_data.c
new file mode 100644
index 0000000..51dd7a7
--- /dev/null
+++ b/pl/math/sv_logf_data.c
@@ -0,0 +1,12 @@
+/*
+ * Coefficients for single-precision SVE log function.
+ *
+ * Copyright (c) 2019-2023, Arm Limited.
+ * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
+ */
+
+const float __sv_logf_poly[] = {
+ /* Copied from coeffs for the Neon routine in math/. */
+ -0x1.3e737cp-3f, 0x1.5a9aa2p-3f, -0x1.4f9934p-3f, 0x1.961348p-3f,
+ -0x1.00187cp-2f, 0x1.555d7cp-2f, -0x1.ffffc8p-2f,
+};