ClickHouse/libs/libglibc-compatibility/musl/logf_data.h

19 lines
418 B
C++
Raw Normal View History

2019-08-01 03:20:54 +00:00
/*
* Copyright (c) 2017-2018, Arm Limited.
* SPDX-License-Identifier: MIT
*/
#ifndef _LOGF_DATA_H
#define _LOGF_DATA_H
#define LOGF_TABLE_BITS 4
#define LOGF_POLY_ORDER 4
extern __attribute__((__visibility__("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