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