mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 14:14:56 +00:00
libmsun: remove duplicates after cdefs.h added inline to __always_inline
Reviewed by: kib, olce Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D45712
This commit is contained in:
parent
d25f0bdceb
commit
07cc7ea738
|
@ -54,7 +54,7 @@ pio2_2t = 2.0670321098263988236496903051604844e-43L, /* 0x127044533e63a0105df5
|
||||||
pio2_3 = 2.0670321098263988236499468110329591e-43L, /* 0x127044533e63a0105e00000000000.0p-254 */
|
pio2_3 = 2.0670321098263988236499468110329591e-43L, /* 0x127044533e63a0105e00000000000.0p-254 */
|
||||||
pio2_3t = -2.5650587247459238361625433492959285e-65L; /* -0x159c4ec64ddaeb5f78671cbfb2210.0p-327 */
|
pio2_3t = -2.5650587247459238361625433492959285e-65L; /* -0x159c4ec64ddaeb5f78671cbfb2210.0p-327 */
|
||||||
|
|
||||||
static inline __always_inline int
|
static __always_inline int
|
||||||
__ieee754_rem_pio2l(long double x, long double *y)
|
__ieee754_rem_pio2l(long double x, long double *y)
|
||||||
{
|
{
|
||||||
union IEEEl2bits u,u1;
|
union IEEEl2bits u,u1;
|
||||||
|
|
|
@ -444,7 +444,7 @@ struct ld {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef STRUCT_RETURN
|
#ifdef STRUCT_RETURN
|
||||||
static inline __always_inline void
|
static __always_inline void
|
||||||
k_logl(long double x, struct ld *rp)
|
k_logl(long double x, struct ld *rp)
|
||||||
#else
|
#else
|
||||||
long double
|
long double
|
||||||
|
|
|
@ -66,7 +66,7 @@ pio2_2t = 6.36831716351095013979e-25L, /* 0xc51701b839a25205.0p-144 */
|
||||||
pio2_3t = -2.75299651904407171810e-37L; /* -0xbb5bf6c7ddd660ce.0p-185 */
|
pio2_3t = -2.75299651904407171810e-37L; /* -0xbb5bf6c7ddd660ce.0p-185 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline __always_inline int
|
static __always_inline int
|
||||||
__ieee754_rem_pio2l(long double x, long double *y)
|
__ieee754_rem_pio2l(long double x, long double *y)
|
||||||
{
|
{
|
||||||
union IEEEl2bits u,u1;
|
union IEEEl2bits u,u1;
|
||||||
|
|
|
@ -444,7 +444,7 @@ struct ld {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef STRUCT_RETURN
|
#ifdef STRUCT_RETURN
|
||||||
static inline __always_inline void
|
static __always_inline void
|
||||||
k_logl(long double x, struct ld *rp)
|
k_logl(long double x, struct ld *rp)
|
||||||
#else
|
#else
|
||||||
long double
|
long double
|
||||||
|
|
|
@ -45,7 +45,7 @@ pio2_3 = 2.02226624871116645580e-21, /* 0x3BA3198A, 0x2E000000 */
|
||||||
pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */
|
pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */
|
||||||
|
|
||||||
#ifdef INLINE_REM_PIO2
|
#ifdef INLINE_REM_PIO2
|
||||||
static __inline __always_inline
|
static __always_inline
|
||||||
#endif
|
#endif
|
||||||
int
|
int
|
||||||
__ieee754_rem_pio2(double x, double *y)
|
__ieee754_rem_pio2(double x, double *y)
|
||||||
|
|
|
@ -38,7 +38,7 @@ pio2_1 = 1.57079631090164184570e+00, /* 0x3FF921FB, 0x50000000 */
|
||||||
pio2_1t = 1.58932547735281966916e-08; /* 0x3E5110b4, 0x611A6263 */
|
pio2_1t = 1.58932547735281966916e-08; /* 0x3E5110b4, 0x611A6263 */
|
||||||
|
|
||||||
#ifdef INLINE_REM_PIO2F
|
#ifdef INLINE_REM_PIO2F
|
||||||
static __inline __always_inline
|
static __always_inline
|
||||||
#endif
|
#endif
|
||||||
int
|
int
|
||||||
__ieee754_rem_pio2f(float x, double *y)
|
__ieee754_rem_pio2f(float x, double *y)
|
||||||
|
|
Loading…
Reference in a new issue