loongarch64: add new syscall numbers
[musl.git] / src / math / pow_data.h
blob5d609ae80ec210badf3f705417e80d0f31da9f51
1 /*
2 * Copyright (c) 2018, Arm Limited.
3 * SPDX-License-Identifier: MIT
4 */
5 #ifndef _POW_DATA_H
6 #define _POW_DATA_H
8 #include <features.h>
10 #define POW_LOG_TABLE_BITS 7
11 #define POW_LOG_POLY_ORDER 8
12 extern hidden const struct pow_log_data {
13 double ln2hi;
14 double ln2lo;
15 double poly[POW_LOG_POLY_ORDER - 1]; /* First coefficient is 1. */
16 /* Note: the pad field is unused, but allows slightly faster indexing. */
17 struct {
18 double invc, pad, logc, logctail;
19 } tab[1 << POW_LOG_TABLE_BITS];
20 } __pow_log_data;
22 #endif