Searched refs:bits (Results 26 - 50 of 836) sorted by relevance

1234567891011>>

/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/bitfields/
H A Derr.D_DECL_BFTYPE.badtype.d40 struct bits {
/freebsd-10.0-release/contrib/libstdc++/include/backward/
H A Dalloc.h47 #include <bits/c++config.h>
48 #include <bits/allocator.h>
/freebsd-10.0-release/contrib/libstdc++/include/std/
H A Dstd_functional.h53 #include <bits/c++config.h>
55 #include <bits/stl_function.h>
/freebsd-10.0-release/lib/msun/src/
H A Ds_isnan.c42 return (u.bits.exp == 2047 && (u.bits.manl != 0 || u.bits.manh != 0));
52 return (u.bits.exp == 255 && u.bits.man != 0);
62 return (u.bits.exp == 32767 && (u.bits.manl != 0 || u.bits.manh != 0));
H A Ds_fmaxf.c43 if (u[0].bits.exp == 255 && u[0].bits.man != 0)
45 if (u[1].bits.exp == 255 && u[1].bits.man != 0)
49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[0].bits.sign].f);
H A Ds_fminf.c43 if (u[0].bits.exp == 255 && u[0].bits.man != 0)
45 if (u[1].bits.exp == 255 && u[1].bits.man != 0)
49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[1].bits.sign].f);
H A Ds_frexpl.c44 switch (u.bits.exp) {
46 if ((u.bits.manl | u.bits.manh) == 0) {
50 *ex = u.bits.exp - 0x4200;
51 u.bits.exp = 0x3ffe;
57 *ex = u.bits.exp - 0x3ffe;
58 u.bits.exp = 0x3ffe;
H A Ds_ilogbl.c30 if (u.bits.exp == 0) {
31 if ((u.bits.manl | u.bits.manh) == 0)
34 if (u.bits.manh == 0) {
36 for (b = LDBL_MANH_SIZE; !(u.bits.manl & m); m >>= 1)
40 for (b = 0; !(u.bits.manh & m); m >>= 1)
47 } else if (u.bits.exp < (LDBL_MAX_EXP << 1) - 1)
48 return (u.bits.exp - LDBL_MAX_EXP + 1);
49 else if (u.bits.manl != 0 || u.bits
[all...]
H A Ds_modfl.c50 /* Return the last n bits of a word, representing the fractional part. */
51 #define GETFRAC(bits, n) ((bits) & ~(MASK << (n)))
52 /* The number of fraction bits in manh, not counting the integer bit */
64 e = ux.bits.exp - LDBL_MAX_EXP + 1;
67 *iptr = zero[ux.bits.sign];
70 if ((GETFRAC(ux.bits.manh, HIBITS - 1 - e) |
71 ux.bits.manl) == 0) { /* X is an integer. */
73 return (zero[ux.bits.sign]);
75 /* Clear all but the top e+1 bits
[all...]
H A Ds_ceill.c35 uint64_t o = u.bits.manh; \
36 u.bits.manh += (c); \
37 if (u.bits.manh < o) \
38 u.bits.exp++; \
43 uint64_t o = u.bits.manh; \
44 u.bits.manh += (c); \
45 if (u.bits.manh < o) { \
46 u.bits.exp++; \
47 u.bits.manh |= 1llu << (LDBL_MANH_SIZE - 1); \
58 int e = u.bits
[all...]
H A Ds_floorl.c35 uint64_t o = u.bits.manh; \
36 u.bits.manh += (c); \
37 if (u.bits.manh < o) \
38 u.bits.exp++; \
43 uint64_t o = u.bits.manh; \
44 u.bits.manh += (c); \
45 if (u.bits.manh < o) { \
46 u.bits.exp++; \
47 u.bits.manh |= 1llu << (LDBL_MANH_SIZE - 1); \
58 int e = u.bits
[all...]
H A De_fmodl.c62 * for an explicit integer bit in front of the fractional bits.
75 sx = ux.bits.sign;
78 if((uy.bits.exp|uy.bits.manh|uy.bits.manl)==0 || /* y=0 */
79 (ux.bits.exp == BIAS + LDBL_MAX_EXP) || /* or x not finite */
80 (uy.bits.exp == BIAS + LDBL_MAX_EXP &&
81 ((uy.bits.manh&~LDBL_NBIT)|uy.bits.manl)!=0)) /* or y is NaN */
83 if(ux.bits
[all...]
H A Ds_logbl.c31 if (u.bits.exp == 0) {
32 if ((u.bits.manl | u.bits.manh) == 0) { /* x == 0 */
33 u.bits.sign = 1;
37 if (u.bits.manh == 0) {
39 for (b = LDBL_MANH_SIZE; !(u.bits.manl & m); m >>= 1)
43 for (b = 0; !(u.bits.manh & m); m >>= 1)
51 if (u.bits.exp < (LDBL_MAX_EXP << 1) - 1) /* normal */
52 return ((long double)(u.bits.exp - LDBL_MAX_EXP + 1));
/freebsd-10.0-release/lib/libc/gen/
H A Disinf.c46 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0);
55 return (u.bits.exp == 255 && u.bits.man == 0);
66 return (u.bits.exp == 32767 && u.bits.manl == 0 && u.bits.manh == 0);
68 return (u.bits.exp == 2047 && u.bits
[all...]
H A Dfpclassify.c43 if (u.bits.exp == 0) {
44 if (u.bits.man == 0)
48 if (u.bits.exp == 255) {
49 if (u.bits.man == 0)
62 if (u.bits.exp == 0) {
63 if ((u.bits.manl | u.bits.manh) == 0)
67 if (u.bits.exp == 2047) {
68 if ((u.bits.manl | u.bits
[all...]
H A Disnan.c53 return (u.bits.exp == 2047 && (u.bits.manl != 0 || u.bits.manh != 0));
62 return (u.bits.exp == 255 && u.bits.man != 0);
/freebsd-10.0-release/sys/dev/vxge/include/
H A Dvxgehal-stats.h49 #define VXGE_HAL_STATS_GET_AGGRn_TX_FRMS(bits) bits
52 #define VXGE_HAL_STATS_GET_AGGRn_TX_DATA_OCTETS(bits) bits
55 #define VXGE_HAL_STATS_GET_AGGRn_TX_MCAST_FRMS(bits) bits
58 #define VXGE_HAL_STATS_GET_AGGRn_TX_BCAST_FRMS(bits) bits
61 #define VXGE_HAL_STATS_GET_AGGRn_TX_DISCARDED_FRMS(bits) bits
[all...]
H A Dvxge-defs.h60 * vBIT(val, loc, sz) - set bits at offset
66 * bVALx(bits, loc) - Get the value of x bits at location
68 #define bVAL1(bits, loc) ((((u64)bits) >> (64-(loc+1))) & 0x1)
69 #define bVAL2(bits, loc) ((((u64)bits) >> (64-(loc+2))) & 0x3)
70 #define bVAL3(bits, loc) ((((u64)bits) >> (64-(loc+3))) & 0x7)
71 #define bVAL4(bits, lo
[all...]
/freebsd-10.0-release/contrib/gdtoa/
H A Dstrtordd.c36 ULtodd(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k;
38 ULtodd(ULong *L, ULong *bits, Long exp, int k)
50 L[_1] = (bits[1] >> 21 | bits[2] << 11) & (ULong)0xffffffffL;
51 L[_0] = (bits[2] >> 21) | (bits[3] << 11 & 0xfffff)
54 if (bits[1] &= 0x1fffff) {
55 i = hi0bits(bits[1]) - 11;
63 bits[
186 ULong bits[4]; local
[all...]
/freebsd-10.0-release/contrib/libstdc++/libsupc++/
H A Ddel_opv.cc31 #include <bits/c++config.h>
/freebsd-10.0-release/contrib/libstdc++/src/
H A Dwstring-inst.cc34 #include <bits/c++config.h>
/freebsd-10.0-release/lib/msun/ld128/
H A Ds_nanl.c39 uint32_t bits[4]; member in union:__anon5726
42 _scan_nan(u.bits, 4, s);
43 u.ieee.bits.exp = 0x7fff;
44 u.ieee.bits.manh |= 1ULL << 47; /* make it a quiet NaN */
/freebsd-10.0-release/lib/msun/ld80/
H A Ds_nanl.c39 uint32_t bits[3]; member in union:__anon5730
42 _scan_nan(u.bits, 3, s);
43 u.ieee.bits.exp = 0x7fff;
44 u.ieee.bits.manh |= 0xc0000000; /* make it a quiet NaN */
/freebsd-10.0-release/lib/libc/sparc64/
H A D_fpmath.h37 } bits; member in union:IEEEl2bits
53 (a)[0] = (uint32_t)(u).bits.manl; \
54 (a)[1] = (uint32_t)((u).bits.manl >> 32); \
55 (a)[2] = (uint32_t)(u).bits.manh; \
56 (a)[3] = (uint32_t)((u).bits.manh >> 32); \
/freebsd-10.0-release/contrib/ipfilter/
H A Dgenmask.c19 int bits; local
42 * set x most significant bits
44 bits = (int)strtol(msk, &endptr, 0);
49 if ((*endptr != '\0') || (bits < 0) || (bits > 128))
51 fill6bits(bits, mskp->i6);
54 if (*endptr != '\0' || bits > 32 || bits < 0)
56 if (bits == 0)
59 addr = htonl(0xffffffff << (32 - bits));
[all...]

Completed in 126 milliseconds

1234567891011>>