xref: /freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/expm1_data.c (revision f3087bef11543b42e0d69b708f367097a4118d24)
1*f3087befSAndrew Turner /*
2*f3087befSAndrew Turner  * Coefficients for double-precision e^x - 1 function.
3*f3087befSAndrew Turner  *
4*f3087befSAndrew Turner  * Copyright (c) 2022-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 /* Generated using fpminimax, see tools/expm1.sollya for details.  */
11*f3087befSAndrew Turner const double __expm1_poly[] = { 0x1p-1,
12*f3087befSAndrew Turner 				0x1.5555555555559p-3,
13*f3087befSAndrew Turner 				0x1.555555555554bp-5,
14*f3087befSAndrew Turner 				0x1.111111110f663p-7,
15*f3087befSAndrew Turner 				0x1.6c16c16c1b5f3p-10,
16*f3087befSAndrew Turner 				0x1.a01a01affa35dp-13,
17*f3087befSAndrew Turner 				0x1.a01a018b4ecbbp-16,
18*f3087befSAndrew Turner 				0x1.71ddf82db5bb4p-19,
19*f3087befSAndrew Turner 				0x1.27e517fc0d54bp-22,
20*f3087befSAndrew Turner 				0x1.af5eedae67435p-26,
21*f3087befSAndrew Turner 				0x1.1f143d060a28ap-29 };
22