diff options
Diffstat (limited to 'libc-top-half/musl/src/math/logf_data.h')
-rw-r--r-- | libc-top-half/musl/src/math/logf_data.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/math/logf_data.h b/libc-top-half/musl/src/math/logf_data.h new file mode 100644 index 0000000..00cff6f --- /dev/null +++ b/libc-top-half/musl/src/math/logf_data.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2017-2018, Arm Limited. + * SPDX-License-Identifier: MIT + */ +#ifndef _LOGF_DATA_H +#define _LOGF_DATA_H + +#include <features.h> + +#define LOGF_TABLE_BITS 4 +#define LOGF_POLY_ORDER 4 +extern hidden const struct logf_data { + struct { + double invc, logc; + } tab[1 << LOGF_TABLE_BITS]; + double ln2; + double poly[LOGF_POLY_ORDER - 1]; /* First order coefficient is 1. */ +} __logf_data; + +#endif |