Searched refs:ux (Results 1 – 6 of 6) sorted by relevance
37 union IEEEl2bits ux, uy; in nextafterl() local39 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 …]
60 union IEEEl2bits ux; in modfl() local63 ux.e = x; in modfl()64 e = ux.bits.exp - LDBL_MAX_EXP + 1; in modfl()67 *iptr = zero[ux.bits.sign]; in modfl()70 if ((GETFRAC(ux.bits.manh, HIBITS - 1 - e) | in modfl()71 ux.bits.manl) == 0) { /* X is an integer. */ in modfl()73 return (zero[ux.bits.sign]); in modfl()76 ux.bits.manh >>= HIBITS - 1 - e; in modfl()77 ux.bits.manh <<= HIBITS - 1 - e; in modfl()78 ux.bits.manl = 0; in modfl()[all …]
70 union IEEEl2bits ux, uy; in remquol() local76 ux.e = x; in remquol()78 sx = ux.bits.sign; in remquol()80 ux.bits.sign = 0; /* |x| */ in remquol()82 x = ux.e; in remquol()86 (ux.bits.exp == BIAS + LDBL_MAX_EXP) || /* or x not finite */ in remquol()90 if(ux.bits.exp<=uy.bits.exp) { in remquol()91 if((ux.bits.exp<uy.bits.exp) || in remquol()92 (ux.bits.manh<=uy.bits.manh && in remquol()93 (ux.bits.manh<uy.bits.manh || in remquol()[all …]
67 union IEEEl2bits ux, uy; in fmodl() local73 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 …]
36 union IEEEl2bits ux, uy; in copysignl() local38 ux.e = x; in copysignl()40 ux.bits.sign = uy.bits.sign; in copysignl()41 return (ux.e); in copysignl()
49 union IEEEl2bits ux, uy; in atan2l() local57 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()