Home
last modified time | relevance | path

Searched refs:BIAS (Results 1 – 16 of 16) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld80/
Ds_remquol.c16 #define BIAS (LDBL_MAX_EXP - 1) macro
68 (esx == BIAS + LDBL_MAX_EXP) || /* or x not finite */ in remquol()
69 (esy == BIAS + LDBL_MAX_EXP && in remquol()
92 ix = esx - (BIAS + 512); in remquol()
94 ix = esx - BIAS; in remquol()
101 iy = esy - (BIAS + 512); in remquol()
103 iy = esy - BIAS; in remquol()
133 esx = (iy + BIAS + 512) & 0x7fff; in remquol()
138 esx = (iy + BIAS) & 0x7fff; in remquol()
De_fmodl.c16 #define BIAS (LDBL_MAX_EXP - 1) macro
88 ix = ux.bits.ext_exp - (BIAS + 512); in fmodl()
90 ix = ux.bits.ext_exp - BIAS; in fmodl()
96 iy = uy.bits.ext_exp - (BIAS + 512); in fmodl()
98 iy = uy.bits.ext_exp - BIAS; in fmodl()
132 ux.bits.ext_exp = iy + (BIAS + 512); in fmodl()
135 ux.bits.ext_exp = iy + BIAS; in fmodl()
Dinvtrig.h29 #define BIAS (LDBL_MAX_EXP - 1) macro
33 #define ASIN_LINEAR (BIAS - 32) /* 2**-32 */
34 #define ACOS_CONST (BIAS - 65) /* 2**-65 */
35 #define ATAN_CONST (BIAS + 65) /* 2**65 */
36 #define ATAN_LINEAR (BIAS - 32) /* 2**-32 */
Ds_exp2l.c33 #define BIAS (LDBL_MAX_EXP - 1) macro
34 #define EXPMASK (BIAS + LDBL_MAX_EXP)
216 if (ix >= BIAS + 14) { /* |x| >= 16384 or x is NaN */ in exp2l()
217 if (ix == BIAS + LDBL_MAX_EXP) { in exp2l()
227 } else if (ix <= BIAS - 66) { /* |x| < 0x1p-66 */ in exp2l()
De_rem_pio2l.h26 #define BIAS (LDBL_MAX_EXP - 1) macro
84 if (ex < BIAS + 25 || (ex == BIAS + 25 && u.bits.manh < 0xc90fdaa2)) { in __ieee754_rem_pio2l()
133 e0 = ex - BIAS - 23; /* e0 = ilogb(|x|)-23; */ in __ieee754_rem_pio2l()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld128/
Ds_remquol.c16 #define BIAS (LDBL_MAX_EXP - 1) macro
69 ((hx>>48) == BIAS + LDBL_MAX_EXP) || /* or x not finite */ in remquol()
70 ((hy>>48) == BIAS + LDBL_MAX_EXP && in remquol()
92 ix = (hx>>48) - (BIAS + 512); in remquol()
94 ix = (hx>>48) - BIAS; in remquol()
101 iy = (hy>>48) - (BIAS + 512); in remquol()
103 iy = (hy>>48) - BIAS; in remquol()
134 hx = (hx&0x0000ffffffffffffLL) | (uint64_t)(iy + BIAS + 512)<<48; in remquol()
139 hx = (hx&0x0000ffffffffffffLL) | (uint64_t)(iy + BIAS)<<48; in remquol()
Ds_exp2l.c34 #define BIAS (LDBL_MAX_EXP - 1) macro
35 #define EXPMASK (BIAS + LDBL_MAX_EXP)
364 if (ix >= BIAS + 14) { /* |x| >= 16384 */ in exp2l()
365 if (ix == BIAS + LDBL_MAX_EXP) { in exp2l()
377 } else if (ix <= BIAS - 115) { /* |x| < 0x1p-115 */ in exp2l()
Dinvtrig.h29 #define BIAS (LDBL_MAX_EXP - 1) macro
33 #define ASIN_LINEAR (BIAS - 56) /* 2**-56 */
34 #define ACOS_CONST (BIAS - 113) /* 2**-113 */
35 #define ATAN_CONST (BIAS + 113) /* 2**113 */
36 #define ATAN_LINEAR (BIAS - 56) /* 2**-56 */
De_rem_pio2l.h26 #define BIAS (LDBL_MAX_EXP - 1) macro
73 if (ex < BIAS + 45 || (ex == BIAS + 45 && u.bits.manh < 0x921fb54442d1LL)) { in __ieee754_rem_pio2l()
122 e0 = ex - BIAS - 23; /* e0 = ilogb(|x|)-23; */ in __ieee754_rem_pio2l()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/common/
Ds_cbrtl.c20 #define BIAS (LDBL_MAX_EXP - 1) macro
44 if (k == BIAS + LDBL_MAX_EXP) in cbrtl()
55 k -= BIAS + 514; in cbrtl()
57 k -= BIAS; in cbrtl()
58 u.xbits.expsign = BIAS; in cbrtl()
74 v.xbits.expsign = (expsign & 0x8000) | (BIAS + k / 3); in cbrtl()
De_atan2l.c45 if ((exptx==BIAS+LDBL_MAX_EXP && in atan2l()
47 (expty==BIAS+LDBL_MAX_EXP && in atan2l()
50 if (expsignx==BIAS && ((ux.bits.manh&~LDBL_NBIT)|ux.bits.manl)==0) in atan2l()
68 if(exptx==BIAS+LDBL_MAX_EXP) { in atan2l()
69 if(expty==BIAS+LDBL_MAX_EXP) { in atan2l()
86 if(expty==BIAS+LDBL_MAX_EXP) in atan2l()
Ds_atanl.c40 if(expt == BIAS + LDBL_MAX_EXP && in atanl()
49 if (expman < ((BIAS - 2) << 8) + 0xc0) { /* |x| < 0.4375 */ in atanl()
56 if (expman < (BIAS << 8) + 0x30) { /* |x| < 1.1875 */ in atanl()
57 if (expman < ((BIAS - 1) << 8) + 0x60) { /* 7/16 <=|x|<11/16 */ in atanl()
63 if (expman < ((BIAS + 1) << 8) + 0x38) { /* |x| < 2.4375 */ in atanl()
Ds_rintl.c35 #define BIAS (LDBL_MAX_EXP - 1) macro
60 if (ex >= BIAS + LDBL_MANT_DIG - 1) { in rintl()
61 if (ex == BIAS + LDBL_MAX_EXP) in rintl()
81 if (ex < BIAS && x == 0.0L) in rintl()
De_sqrtl.c73 #define BIAS (LDBL_MAX_EXP-1) macro
115 if ((u.bits.exp - (BIAS-1)) & 1) { /* n is odd. */ in sqrtl()
116 k += u.bits.exp - BIAS; /* 2k = n - 1. */ in sqrtl()
118 u.dbits.dl = scalbn(u.dbits.dl, BIAS - u.bits.exp); in sqrtl()
120 u.bits.exp = BIAS; /* u.e in [1,2). */ in sqrtl()
122 k += u.bits.exp - (BIAS + 1); /* 2k = n - 2. */ in sqrtl()
124 u.dbits.dl = scalbn(u.dbits.dl, (BIAS + 1) - u.bits.exp); in sqrtl()
126 u.bits.exp = (BIAS + 1); /* u.e in [2,4). */ in sqrtl()
De_asinl.c38 if(expt >= BIAS) { /* |x|>= 1 */ in asinl()
39 if(expt==BIAS && ((u.bits.manh&~LDBL_NBIT)|u.bits.manl)==0) in asinl()
43 } else if (expt<BIAS-1) { /* |x|<0.5 */ in asinl()
De_acosl.c50 if(expt >= BIAS) { /* |x| >= 1 */ in acosl()
51 if(expt==BIAS && ((u.bits.manh&~LDBL_NBIT)|u.bits.manl)==0) { in acosl()
57 if(expt<BIAS-1) { /* |x| < 0.5 */ in acosl()