1*f3087befSAndrew Turner /* 2*f3087befSAndrew Turner * Data used in single-precision log1p(x) 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 #include "math_config.h" 8*f3087befSAndrew Turner 9*f3087befSAndrew Turner /* Polynomial coefficients generated using floating-point minimax 10*f3087befSAndrew Turner algorithm, see tools/log1pf.sollya for details. */ 11*f3087befSAndrew Turner const struct log1pf_data __log1pf_data 12*f3087befSAndrew Turner = { .coeffs = { -0x1p-1f, 0x1.5555aap-2f, -0x1.000038p-2f, 0x1.99675cp-3f, 13*f3087befSAndrew Turner -0x1.54ef78p-3f, 0x1.28a1f4p-3f, -0x1.0da91p-3f, 14*f3087befSAndrew Turner 0x1.abcb6p-4f, -0x1.6f0d5ep-5f } }; 15