diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:09:51 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:09:51 +0000 |
commit | 9b34328e5d9bbe7a3b6bfc85119b3a8e933f487d (patch) | |
tree | b6182e391304fb3a42c51d482dcf671f540f2363 /pl/math/log1pf_data.c | |
parent | 2c59c64458c2a8ca3f8533dc9e9cdfcae90e2c73 (diff) | |
parent | 172d24a7ae67ee7bae413d5a8618f1b5edc002be (diff) | |
download | arm-optimized-routines-android14-mainline-uwb-release.tar.gz |
Snap for 10453563 from 172d24a7ae67ee7bae413d5a8618f1b5edc002be to mainline-uwb-releaseaml_uwb_341710010aml_uwb_341513070aml_uwb_341511050aml_uwb_341310300aml_uwb_341310030aml_uwb_341111010aml_uwb_341011000android14-mainline-uwb-release
Change-Id: Ic0a828a30e1ed0394abdeefd06718d6201d2bf87
Diffstat (limited to 'pl/math/log1pf_data.c')
-rw-r--r-- | pl/math/log1pf_data.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pl/math/log1pf_data.c b/pl/math/log1pf_data.c new file mode 100644 index 0000000..8c92d57 --- /dev/null +++ b/pl/math/log1pf_data.c @@ -0,0 +1,14 @@ +/* + * Data used in single-precision log1p(x) function. + * + * Copyright (c) 2022-2023, Arm Limited. + * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception + */ +#include "math_config.h" + +/* Polynomial coefficients generated using floating-point minimax + algorithm, see tools/log1pf.sollya for details. */ +const struct log1pf_data __log1pf_data + = {.coeffs = {-0x1p-1f, 0x1.5555aap-2f, -0x1.000038p-2f, 0x1.99675cp-3f, + -0x1.54ef78p-3f, 0x1.28a1f4p-3f, -0x1.0da91p-3f, 0x1.abcb6p-4f, + -0x1.6f0d5ep-5f}}; |