1*f3087befSAndrew Turner /* 2*f3087befSAndrew Turner * Coefficients for single-precision asin(x) function. 3*f3087befSAndrew Turner * 4*f3087befSAndrew Turner * Copyright (c) 2023-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 /* Approximate asinf(x) directly in [0x1p-24, 0.25]. See for tools/asinf.sollya 11*f3087befSAndrew Turner for these coeffs were generated. */ 12*f3087befSAndrew Turner const float __asinf_poly[] = { 13*f3087befSAndrew Turner /* Polynomial approximation of (asin(sqrt(x)) - sqrt(x)) / (x * sqrt(x)) on 14*f3087befSAndrew Turner [ 0x1p-24 0x1p-2 ] order = 4 rel error: 0x1.00a23bbp-29 . */ 15*f3087befSAndrew Turner 0x1.55555ep-3, 0x1.33261ap-4, 0x1.70d7dcp-5, 0x1.b059dp-6, 0x1.3af7d8p-5, 16*f3087befSAndrew Turner }; 17