xref: /freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/atanf_data.c (revision f3087bef11543b42e0d69b708f367097a4118d24)
1 /*
2  * Single-precision polynomial coefficients for vector atan(x) and atan2(y,x).
3  *
4  * Copyright (c) 2019-2024, Arm Limited.
5  * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6  */
7 
8 #include "math_config.h"
9 
10 /* Coefficients of polynomial P such that atan(x)~x+x*P(x^2) on [2**-128, 1.0].
11  */
12 const struct atanf_poly_data __atanf_poly_data
13     = { .poly
14 	= { /* See atanf.sollya for details of how these were generated.  */
15 	    -0x1.55555p-2f, 0x1.99935ep-3f, -0x1.24051ep-3f, 0x1.bd7368p-4f,
16 	    -0x1.491f0ep-4f, 0x1.93a2c0p-5f, -0x1.4c3c60p-6f,
17 	    0x1.01fd88p-8f } };
18