diff options
Diffstat (limited to 'pl/math/sv_expf_data.c')
-rw-r--r-- | pl/math/sv_expf_data.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pl/math/sv_expf_data.c b/pl/math/sv_expf_data.c new file mode 100644 index 0000000..6875adf --- /dev/null +++ b/pl/math/sv_expf_data.c @@ -0,0 +1,12 @@ +/* + * Coefficients for single-precision vector e^x function. + * + * Copyright (c) 2019-2023, Arm Limited. + * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception + */ + +#include "math_config.h" + +/* Coefficients copied from the polynomial in math/v_expf.c. */ +const float __sv_expf_poly[] = {0x1.0e4020p-7f, 0x1.573e2ep-5f, 0x1.555e66p-3f, + 0x1.fffdb6p-2f, 0x1.ffffecp-1f}; |