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