Home
last modified time | relevance | path

Searched refs:xbits (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/x86_64/
H A DNextUpDownLongDouble.h29 FPBits_t xbits(x); in nextupdown()
30 if (xbits.is_nan() || xbits == FPBits_t::max_normal(sign) || in nextupdown()
31 xbits == FPBits_t::inf(sign)) in nextupdown()
39 if (xbits.sign() == sign) { in nextupdown()
40 if (xbits.get_mantissa() == FPBits_t::FRACTION_MASK) { in nextupdown()
41 xbits.set_mantissa(0); in nextupdown()
42 xbits.set_biased_exponent(xbits.get_biased_exponent() + 1); in nextupdown()
44 xbits = FPBits_t(StorageType(xbits.uintval() + 1)); in nextupdown()
47 return xbits.get_val(); in nextupdown()
50 if (xbits.get_mantissa() == 0) { in nextupdown()
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/
H A DManipulationFunctions.h78 FPBits<T> xbits(x); in copysign()
79 xbits.set_sign(FPBits<T>(y).sign()); in copysign()
80 return xbits.get_val(); in copysign()
252 FPBits<T> xbits(x);
253 if (xbits.is_nan() || xbits == FPBits<T>::max_normal(sign) ||
254 xbits == FPBits<T>::inf(sign))
259 if (xbits.sign() == sign) {
260 xbits = FPBits<T>(StorageType(xbits.uintval() + 1));
262 xbits = FPBits<T>(StorageType(xbits.uintval() - 1));
265 xbits = FPBits<T>::min_subnormal(sign);
[all …]
H A DDivisionAndRemainderOperations.h29 FPBits<T> xbits(x), ybits(y); in remquo()
30 if (xbits.is_nan()) in remquo()
34 if (xbits.is_inf() || ybits.is_zero()) in remquo()
37 if (xbits.is_zero()) { in remquo()
48 (xbits.sign() == ybits.sign() ? Sign::POS : Sign::NEG); in remquo()
53 xbits.set_sign(Sign::POS); in remquo()
56 NormalFloat<T> normalx(xbits), normaly(ybits); in remquo()
/freebsd/lib/msun/ld128/
H A Ds_exp2l.c363 hx = u.xbits.expsign; in exp2l()
367 if (u.xbits.manh != 0 in exp2l()
368 || u.xbits.manl != 0 in exp2l()
402 v.xbits.manh = 0; in exp2l()
403 v.xbits.manl = 0; in exp2l()
405 v.xbits.expsign = LDBL_MAX_EXP - 1 + k; in exp2l()
408 v.xbits.expsign = LDBL_MAX_EXP - 1 + k + 10000; in exp2l()
H A De_rem_pio2l.h68 expsign = u.xbits.expsign; in __ieee754_rem_pio2l()
84 ex1 = u2.xbits.expsign & 0x7fff; in __ieee754_rem_pio2l()
93 ex1 = u2.xbits.expsign & 0x7fff; in __ieee754_rem_pio2l()
116 u1.xbits.expsign = ex - e0; in __ieee754_rem_pio2l()
H A Ds_expl.c67 hx = u.xbits.expsign; in expl()
210 hx = u.xbits.expsign; in expm1l()
277 v.xbits.expsign = BIAS + k; in expm1l()
311 v.xbits.expsign = BIAS - k; in expm1l()
/freebsd/contrib/llvm-project/libc/src/__support/math/
H A Dexpf.h29 FPBits xbits(x); in expf()
31 uint32_t x_u = xbits.uintval(); in expf()
44 if (xbits.get_biased_exponent() <= 101) { in expf()
49 if (xbits.uintval() >= 0xc2cf'f1b5U) { in expf()
65 if (xbits.uintval() < 0x7f80'0000U) { in expf()
/freebsd/lib/msun/ld80/
H A Ds_exp2l.c226 hx = u.xbits.expsign; in exp2l()
230 if (hx & 0x8000 && u.xbits.man == 1ULL << 63) in exp2l()
264 v.xbits.man = 1ULL << 63; in exp2l()
266 v.xbits.expsign = BIAS + k; in exp2l()
269 v.xbits.expsign = BIAS + k + 10000; in exp2l()
H A De_rem_pio2l.h79 expsign = u.xbits.expsign; in __ieee754_rem_pio2l()
93 ex1 = u2.xbits.expsign & 0x7fff; in __ieee754_rem_pio2l()
102 ex1 = u2.xbits.expsign & 0x7fff; in __ieee754_rem_pio2l()
125 u1.xbits.expsign = ex - e0; in __ieee754_rem_pio2l()
H A Ds_expl.c79 hx = u.xbits.expsign; in expl()
168 hx = u.xbits.expsign; in expm1l()
231 v.xbits.expsign = BIAS + k; in expm1l()
264 v.xbits.expsign = BIAS - k; in expm1l()
/freebsd/lib/msun/src/
H A Dmath_private.h239 (ix0) = ew_u.xbits.expsign; \
240 (ix1) = ew_u.xbits.man; \
252 (ix0) = ew_u.xbits.expsign; \
253 (ix1) = ew_u.xbits.manh; \
254 (ix2) = ew_u.xbits.manl; \
263 (i) = ge_u.xbits.expsign; \
274 iw_u.xbits.expsign = (ix0); \
275 iw_u.xbits.man = (ix1); \
287 iw_u.xbits.expsign = (ix0); \
288 iw_u.xbits.manh = (ix1); \
[all …]
H A Ds_cbrtl.c43 expsign = u.xbits.expsign; in cbrtl()
64 u.xbits.expsign = BIAS; in cbrtl()
80 v.xbits.expsign = (expsign & 0x8000) | (BIAS + k / 3); in cbrtl()
H A De_atan2l.c51 expsigny = uy.xbits.expsign; in atan2l()
54 expsignx = ux.xbits.expsign; in atan2l()
H A Ds_scalbnl.c44 u.xbits.expsign = 0x3fff + n; in scalbnl()
H A Ds_rintl.c61 expsign = u.xbits.expsign; in rintl()
H A Ds_atanl.c38 expsign = u.xbits.expsign; in atanl()
H A De_asinl.c36 expsign = u.xbits.expsign; in asinl()
H A De_acosl.c46 expsign = u.xbits.expsign; in acosl()
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c76 static fd_set ibits, obits, xbits; variable
86 FD_ZERO(&xbits); in init_sys()
798 FD_SET(net, &xbits); in process_rings()
801 if ((c = select(FD_SETSIZE, &ibits, &obits, &xbits, in process_rings()
822 if (FD_ISSET(net, &xbits)) { in process_rings()
823 FD_CLR(net, &xbits); in process_rings()
/freebsd/crypto/openssh/regress/
H A Dkeytype.sh25 xbits=`echo ${kt} | awk -F- '{print $2}'`
29 *) type=$xtype; bits=$xbits; bits_arg="-b $bits";;
/freebsd/lib/libc/i386/
H A D_fpmath.h42 } xbits; member
/freebsd/lib/libc/amd64/
H A D_fpmath.h43 } xbits; member
/freebsd/lib/libc/aarch64/
H A D_fpmath.h41 } xbits; member
/freebsd/lib/libc/riscv/
H A D_fpmath.h40 } xbits; member
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dtelnetd.c996 fd_set ibits, obits, xbits; in my_telnet() local
1011 FD_ZERO(&xbits); in my_telnet()
1032 FD_SET(f, &xbits); in my_telnet()
1034 if ((c = select(nfd, &ibits, &obits, &xbits, in my_telnet()
1048 if (FD_ISSET(net, &xbits)) { in my_telnet()

12