xref: /freebsd/contrib/arm-optimized-routines/pl/math/log1pf_data.c (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1 /*
2  * Data used in single-precision log1p(x) function.
3  *
4  * Copyright (c) 2022-2023, Arm Limited.
5  * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6  */
7 #include "math_config.h"
8 
9 /* Polynomial coefficients generated using floating-point minimax
10    algorithm, see tools/log1pf.sollya for details.  */
11 const struct log1pf_data __log1pf_data
12   = {.coeffs = {-0x1p-1f, 0x1.5555aap-2f, -0x1.000038p-2f, 0x1.99675cp-3f,
13 		-0x1.54ef78p-3f, 0x1.28a1f4p-3f, -0x1.0da91p-3f, 0x1.abcb6p-4f,
14 		-0x1.6f0d5ep-5f}};
15