Remove _Hide keyword

It never did anything and isn't worthwhile as documentation.
This commit is contained in:
Justine Tunney 2023-07-24 08:31:54 -07:00
parent 4fb6cbc1fe
commit e0c2b91b3e
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
131 changed files with 716 additions and 917 deletions

View file

@ -6,7 +6,7 @@ COSMOPOLITAN_C_START_
#define ATAN_POLY_NCOEFFS 20
extern const struct atan_poly_data {
double poly[ATAN_POLY_NCOEFFS];
} __atan_poly_data _Hide;
} __atan_poly_data;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -6,7 +6,7 @@ COSMOPOLITAN_C_START_
#define ATANF_POLY_NCOEFFS 8
extern const struct atanf_poly_data {
float poly[ATANF_POLY_NCOEFFS];
} __atanf_poly_data _Hide;
} __atanf_poly_data;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -40,8 +40,8 @@ COSMOPOLITAN_C_START_
(d) = asfloat(w); \
} while (0)
_Complex double __ldexp_cexp(_Complex double, int) _Hide;
_Complex float __ldexp_cexpf(_Complex float, int) _Hide;
_Complex double __ldexp_cexp(_Complex double, int);
_Complex float __ldexp_cexpf(_Complex float, int);
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -7,7 +7,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern _Hide const struct exp2f_data {
extern const struct exp2f_data {
uint64_t tab[1 << EXP2F_TABLE_BITS];
double shift_scaled;
double poly[EXP2F_POLY_ORDER];

View file

@ -9,7 +9,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern _Hide const struct exp_data {
extern const struct exp_data {
double invln2N;
double shift;
double negln2hiN;

View file

@ -972,7 +972,7 @@ struct ExplData {
extern const struct ExplData kExplData[INTERVALS];
void __k_expl(long double , long double *, long double *, int *) _Hide;
void __k_expl(long double , long double *, long double *, int *) ;
/*
* XXX: the rest of the functions are identical for ld80 and ld128.

View file

@ -54,21 +54,21 @@ static inline float fp_barrierf(float x) {
return y;
}
extern const uint16_t __rsqrt_tab[128] _Hide;
extern const uint16_t __rsqrt_tab[128];
double __math_divzero(uint32_t) _Hide;
double __math_invalid(double) _Hide;
double __math_oflow(uint32_t) _Hide;
double __math_uflow(uint32_t) _Hide;
double __math_xflow(uint32_t, double) _Hide;
float __math_divzerof(uint32_t) _Hide;
float __math_invalidf(float) _Hide;
float __math_oflowf(uint32_t) _Hide;
float __math_uflowf(uint32_t) _Hide;
float __math_xflowf(uint32_t, float) _Hide;
long double __polevll(long double, const long double *, int) _Hide;
long double __p1evll(long double, const long double *, int) _Hide;
long double __math_invalidl(long double) _Hide;
double __math_divzero(uint32_t);
double __math_invalid(double);
double __math_oflow(uint32_t);
double __math_uflow(uint32_t);
double __math_xflow(uint32_t, double);
float __math_divzerof(uint32_t);
float __math_invalidf(float);
float __math_oflowf(uint32_t);
float __math_uflowf(uint32_t);
float __math_xflowf(uint32_t, float);
long double __polevll(long double, const long double *, int);
long double __p1evll(long double, const long double *, int);
long double __math_invalidl(long double);
#define FORCE_EVAL(x) \
do { \

View file

@ -7,9 +7,9 @@ COSMOPOLITAN_C_START_
#define pio2_hi __pio2_hi
#define pio2_lo __pio2_lo
_Hide extern const long double pio2_hi, pio2_lo;
extern const long double pio2_hi, pio2_lo;
_Hide long double __invtrigl_R(long double z);
long double __invtrigl_R(long double z);
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -3,19 +3,19 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
double __cos(double, double) _Hide;
double __sin(double, double, int) _Hide;
double __tan(double, double, int) _Hide;
float __cosdf(double) _Hide;
float __sindf(double) _Hide;
float __tandf(double, int) _Hide;
long double __cosl(long double, long double) _Hide;
long double __sinl(long double, long double, int) _Hide;
long double __tanl(long double, long double, int) _Hide;
int __rem_pio2(double, double *) _Hide;
int __rem_pio2l(long double, long double *) _Hide;
int __rem_pio2_large(double *, double *, int, int, int) _Hide;
int __rem_pio2f(float, double *) _Hide;
double __cos(double, double);
double __sin(double, double, int);
double __tan(double, double, int);
float __cosdf(double);
float __sindf(double);
float __tandf(double, int);
long double __cosl(long double, long double);
long double __sinl(long double, long double, int);
long double __tanl(long double, long double, int);
int __rem_pio2(double, double *);
int __rem_pio2l(long double, long double *);
int __rem_pio2_large(double *, double *, int, int, int);
int __rem_pio2f(float, double *);
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -7,8 +7,8 @@ COSMOPOLITAN_C_START_
#define V_LOG1PF_2U5
#define LOG1PF_NCOEFFS 9
extern const struct log1pf_data {
float coeffs[LOG1PF_NCOEFFS];
} __log1pf_data _Hide;
float coeffs[LOG1PF_NCOEFFS]; //
} __log1pf_data;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -8,7 +8,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern _Hide const struct log2_data {
extern const struct log2_data {
double invln2hi;
double invln2lo;
double poly[LOG2_POLY_ORDER - 1];

View file

@ -7,7 +7,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern _Hide const struct log2f_data {
extern const struct log2f_data {
struct {
double invc, logc;
} tab[1 << LOG2F_TABLE_BITS];

View file

@ -8,7 +8,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern _Hide const struct log_data {
extern const struct log_data {
double ln2hi;
double ln2lo;
double poly[LOG_POLY_ORDER - 1]; /* First coefficient is 1. */

View file

@ -7,7 +7,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern _Hide const struct logf_data {
extern const struct logf_data {
struct {
double invc, logc;
} tab[1 << LOGF_TABLE_BITS];

View file

@ -7,7 +7,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern _Hide const struct pow_log_data {
extern const struct pow_log_data {
double ln2hi;
double ln2lo;
double poly[POW_LOG_POLY_ORDER - 1]; /* First coefficient is 1. */

View file

@ -13,7 +13,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern _Hide const struct powf_log2_data {
extern const struct powf_log2_data {
struct {
double invc, logc;
} tab[1 << POWF_LOG2_TABLE_BITS];

View file

@ -28,10 +28,10 @@ typedef struct
} sincos_t;
/* Polynomial data (the cosine polynomial is negated in the 2nd entry). */
extern const sincos_t __sincosf_table[2] _Hide;
extern const sincos_t __sincosf_table[2] ;
/* Table with 4/PI to 192 bit precision. */
extern const uint32_t __inv_pio4[] _Hide;
extern const uint32_t __inv_pio4[] ;
/* Top 12 bits of the float representation with the sign bit cleared. */
static inline uint32_t