diff options
Diffstat (limited to 'libc-top-half/musl/src/math/log2f_data.h')
-rw-r--r-- | libc-top-half/musl/src/math/log2f_data.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/math/log2f_data.h b/libc-top-half/musl/src/math/log2f_data.h new file mode 100644 index 0000000..4fa4895 --- /dev/null +++ b/libc-top-half/musl/src/math/log2f_data.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2017-2018, Arm Limited. + * SPDX-License-Identifier: MIT + */ +#ifndef _LOG2F_DATA_H +#define _LOG2F_DATA_H + +#include <features.h> + +#define LOG2F_TABLE_BITS 4 +#define LOG2F_POLY_ORDER 4 +extern hidden const struct log2f_data { + struct { + double invc, logc; + } tab[1 << LOG2F_TABLE_BITS]; + double poly[LOG2F_POLY_ORDER]; +} __log2f_data; + +#endif |