1*072a4ba8SAndrew Turner /* 2*072a4ba8SAndrew Turner * Coefficients for double-precision e^x - 1 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 /* Generated using fpminimax, see tools/expm1.sollya for details. */ 11*072a4ba8SAndrew Turner const double __expm1_poly[] = {0x1p-1, 12*072a4ba8SAndrew Turner 0x1.5555555555559p-3, 13*072a4ba8SAndrew Turner 0x1.555555555554bp-5, 14*072a4ba8SAndrew Turner 0x1.111111110f663p-7, 15*072a4ba8SAndrew Turner 0x1.6c16c16c1b5f3p-10, 16*072a4ba8SAndrew Turner 0x1.a01a01affa35dp-13, 17*072a4ba8SAndrew Turner 0x1.a01a018b4ecbbp-16, 18*072a4ba8SAndrew Turner 0x1.71ddf82db5bb4p-19, 19*072a4ba8SAndrew Turner 0x1.27e517fc0d54bp-22, 20*072a4ba8SAndrew Turner 0x1.af5eedae67435p-26, 21*072a4ba8SAndrew Turner 0x1.1f143d060a28ap-29}; 22