xref: /freebsd/contrib/arm-optimized-routines/pl/math/asinhf_data.c (revision 072a4ba82a01476eaee33781ccd241033eefcf0b)
1*072a4ba8SAndrew Turner /*
2*072a4ba8SAndrew Turner  * Coefficients for single-precision asinh(x) function.
3*072a4ba8SAndrew Turner  *
4*072a4ba8SAndrew Turner  * Copyright (c) 2022-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 /* Approximate asinhf(x) directly in [2^-12, 1]. See for tools/asinhf.sollya for
11*072a4ba8SAndrew Turner    these coeffs were generated.  */
12*072a4ba8SAndrew Turner const struct asinhf_data __asinhf_data
13*072a4ba8SAndrew Turner   = {.coeffs
14*072a4ba8SAndrew Turner      = {-0x1.9b16fap-19f, -0x1.552baap-3f, -0x1.4e572ap-11f, 0x1.3a81dcp-4f,
15*072a4ba8SAndrew Turner 	0x1.65bbaap-10f, -0x1.057f1p-4f, 0x1.6c1d46p-5f, -0x1.4cafe8p-7f}};
16