Home
last modified time | relevance | path

Searched refs:ux (Results 1 – 6 of 6) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_nextafterl.c37 union IEEEl2bits ux, uy; in nextafterl() local
39 ux.e = x; in nextafterl()
42 if ((ux.bits.exp == 0x7fff && in nextafterl()
43 ((ux.bits.manh&~LDBL_NBIT)|ux.bits.manl) != 0) || in nextafterl()
49 ux.bits.manh = 0; /* return +-minsubnormal */ in nextafterl()
50 ux.bits.manl = 1; in nextafterl()
51 ux.bits.sign = uy.bits.sign; in nextafterl()
52 t = ux.e*ux.e; in nextafterl()
53 if(t==ux.e) return t; else return ux.e; /* raise underflow flag */ in nextafterl()
56 if(ux.bits.manl==0) { in nextafterl()
[all …]
Ds_modfl.c62 union IEEEl2bits ux; in modfl() local
65 ux.e = x; in modfl()
66 e = ux.bits.exp - LDBL_MAX_EXP + 1; in modfl()
69 *iptr = zero[ux.bits.sign]; in modfl()
72 if ((GETFRAC(ux.bits.manh, HIBITS - 1 - e) | in modfl()
73 ux.bits.manl) == 0) { /* X is an integer. */ in modfl()
75 return (zero[ux.bits.sign]); in modfl()
78 ux.bits.manh >>= HIBITS - 1 - e; in modfl()
79 ux.bits.manh <<= HIBITS - 1 - e; in modfl()
80 ux.bits.manl = 0; in modfl()
[all …]
Ds_remquol.c70 union IEEEl2bits ux, uy; in remquol() local
76 ux.e = x; in remquol()
78 sx = ux.bits.sign; in remquol()
80 ux.bits.sign = 0; /* |x| */ in remquol()
85 (ux.bits.exp == BIAS + LDBL_MAX_EXP) || /* or x not finite */ in remquol()
89 if(ux.bits.exp<=uy.bits.exp) { in remquol()
90 if((ux.bits.exp<uy.bits.exp) || in remquol()
91 (ux.bits.manh<=uy.bits.manh && in remquol()
92 (ux.bits.manh<uy.bits.manh || in remquol()
93 ux.bits.manl<uy.bits.manl))) { in remquol()
[all …]
De_fmodl.c67 union IEEEl2bits ux, uy; in fmodl() local
73 ux.e = x; in fmodl()
75 sx = ux.bits.sign; in fmodl()
79 (ux.bits.exp == BIAS + LDBL_MAX_EXP) || /* or x not finite */ in fmodl()
83 if(ux.bits.exp<=uy.bits.exp) { in fmodl()
84 if((ux.bits.exp<uy.bits.exp) || in fmodl()
85 (ux.bits.manh<=uy.bits.manh && in fmodl()
86 (ux.bits.manh<uy.bits.manh || in fmodl()
87 ux.bits.manl<uy.bits.manl))) { in fmodl()
90 if(ux.bits.manh==uy.bits.manh && ux.bits.manl==uy.bits.manl) { in fmodl()
[all …]
De_atan2l.c49 union IEEEl2bits ux, uy; in atan2l() local
57 ux.e = x; in atan2l()
58 expsignx = ux.xbits.expsign; in atan2l()
62 ((ux.bits.manh&~LDBL_NBIT)|ux.bits.manl)!=0) || /* x is NaN */ in atan2l()
66 if (expsignx==BIAS && ((ux.bits.manh&~LDBL_NBIT)|ux.bits.manl)==0) in atan2l()
80 if(exptx==0 && ((ux.bits.manh&~LDBL_NBIT)|ux.bits.manl)==0) in atan2l()
Ds_copysignl.c38 union IEEEl2bits ux, uy; in copysignl() local
40 ux.e = x; in copysignl()
42 ux.bits.sign = uy.bits.sign; in copysignl()
43 return (ux.e); in copysignl()