xref: /freebsd/contrib/arm-optimized-routines/math/erff_data.c (revision ba3c1f5972d7b90feb6e6da47905ff2757e0fe57)
1 /*
2  * Data for approximation of erff.
3  *
4  * Copyright (c) 2019-2020, Arm Limited.
5  * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6  */
7 
8 #include "math_config.h"
9 
10 /* Minimax approximation of erff. */
11 const struct erff_data __erff_data = {
12 .erff_poly_A = {
13 0x1.06eba6p-03f, -0x1.8126e0p-02f, 0x1.ce1a46p-04f,
14 -0x1.b68bd2p-06f, 0x1.473f48p-08f, -0x1.3a1a82p-11f
15 },
16 .erff_poly_B = {
17 0x1.079d0cp-3f, 0x1.450aa0p-1f, 0x1.b55cb0p-4f,
18 -0x1.8d6300p-6f, 0x1.fd1336p-9f, -0x1.91d2ccp-12f,
19 0x1.222900p-16f
20 }
21 };
22 
23