xref: /aosp_15_r20/external/arm-optimized-routines/pl/math/asinhf_data.c (revision 412f47f9e737e10ed5cc46ec6a8d7fa2264f8a14)
1*412f47f9SXin Li /*
2*412f47f9SXin Li  * Coefficients for single-precision asinh(x) function.
3*412f47f9SXin Li  *
4*412f47f9SXin Li  * Copyright (c) 2022-2023, Arm Limited.
5*412f47f9SXin Li  * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6*412f47f9SXin Li  */
7*412f47f9SXin Li 
8*412f47f9SXin Li #include "math_config.h"
9*412f47f9SXin Li 
10*412f47f9SXin Li /* Approximate asinhf(x) directly in [2^-12, 1]. See for tools/asinhf.sollya for
11*412f47f9SXin Li    these coeffs were generated.  */
12*412f47f9SXin Li const struct asinhf_data __asinhf_data
13*412f47f9SXin Li   = {.coeffs
14*412f47f9SXin Li      = {-0x1.9b16fap-19f, -0x1.552baap-3f, -0x1.4e572ap-11f, 0x1.3a81dcp-4f,
15*412f47f9SXin Li 	0x1.65bbaap-10f, -0x1.057f1p-4f, 0x1.6c1d46p-5f, -0x1.4cafe8p-7f}};
16