xref: /freebsd/contrib/arm-optimized-routines/pl/math/expm1_data.c (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1 /*
2  * Coefficients for double-precision e^x - 1 function.
3  *
4  * Copyright (c) 2022-2023, Arm Limited.
5  * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6  */
7 
8 #include "math_config.h"
9 
10 /* Generated using fpminimax, see tools/expm1.sollya for details.  */
11 const double __expm1_poly[] = {0x1p-1,
12 			       0x1.5555555555559p-3,
13 			       0x1.555555555554bp-5,
14 			       0x1.111111110f663p-7,
15 			       0x1.6c16c16c1b5f3p-10,
16 			       0x1.a01a01affa35dp-13,
17 			       0x1.a01a018b4ecbbp-16,
18 			       0x1.71ddf82db5bb4p-19,
19 			       0x1.27e517fc0d54bp-22,
20 			       0x1.af5eedae67435p-26,
21 			       0x1.1f143d060a28ap-29};
22