Searched refs:frac (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dnearbyintl.c49 unsigned hx, sx, i, frac; local
94 frac = ((xx.i[0] << 1) << (127 - j)) | (xx.i[1] >> (j - 96));
96 frac |= 1;
97 if (!frac)
101 if (rm == FSR_RP || (rm == FSR_RN && (frac > 0x80000000u ||
102 (frac == 0x80000000 && (xx.i[0] & i)))))
106 frac = ((xx.i[1] << 1) << (95 - j)) | (xx.i[2] >> (j - 64));
108 frac |= 1;
109 if (!frac)
113 if (rm == FSR_RP || (rm == FSR_RN && (frac >
[all...]
H A Dnearbyint.c50 unsigned hx, sx, i, frac; local
92 frac = ((xx.i[HIWORD] << 1) << (63 - j)) |
95 frac |= 1;
96 if (!frac)
101 ((frac > 0x80000000u) || ((frac == 0x80000000) &&
106 frac = (xx.i[LOWORD] << 1) << (31 - j);
107 if (!frac)
111 (frac > 0x80000000u || ((frac
[all...]
H A Dlrintl.c51 unsigned int hx, sx, frac, l, fsr; local
90 frac = ((xx.i[0] << 1) << (127 - j)) | (xx.i[1] >> (j - 96));
92 frac |= 1;
95 frac = (xx.i[1] << (96 - j)) | (xx.i[2] >> (j - 64));
97 frac |= 1;
101 if (frac && (rm == FSR_RP || (rm == FSR_RN && (frac > 0x80000000U ||
102 (frac == 0x80000000 && (l & 1))))))
112 if (frac) {
H A Dllrintl.c57 unsigned int hx, sx, frac, fsr; local
97 frac = ((xx.i[0] << 1) << (127 - j)) | (xx.i[1] >> (j - 96));
99 frac |= 1;
103 frac = ((xx.i[1] << 1) << (95 - j)) | (xx.i[2] >> (j - 64));
105 frac |= 1;
109 frac = ((xx.i[2] << 1) << (63 - j)) | (xx.i[3] >> (j - 32));
111 frac |= 1;
115 if (frac && (rm == FSR_RP || (rm == FSR_RN && (frac > 0x80000000u ||
116 (frac
[all...]
H A Dlroundl.c47 unsigned hx, sx, frac, l; local
73 frac = ((xx.i[0] << 1) << (127 - j)) | (xx.i[1] >> (j - 96));
75 frac |= 1;
78 frac = (xx.i[1] << (96 - j)) | (xx.i[2] >> (j - 64));
80 frac |= 1;
84 if (frac >= 0x80000000U)
H A Dllroundl.c53 unsigned hx, sx, frac; local
80 frac = ((xx.i[0] << 1) << (127 - j)) | (xx.i[1] >> (j - 96));
82 frac |= 1;
86 frac = ((xx.i[1] << 1) << (95 - j)) | (xx.i[2] >> (j - 64));
88 frac |= 1;
92 frac = ((xx.i[2] << 1) << (63 - j)) | (xx.i[3] >> (j - 32));
94 frac |= 1;
98 if (frac >= 0x80000000u) {
H A Dnearbyintf.c41 unsigned hx, sx, i, frac; local
74 frac = hx & (i - 1);
75 if (!frac)
79 if (rm == FE_UPWARD || (rm == FE_TONEAREST && (frac > (i >> 1) ||
80 ((frac == (i >> 1)) && (hx & i)))))
/illumos-gate/usr/src/boot/sys/sys/
H A Dtime.h55 uint64_t frac; member in struct:bintime
63 _u = _bt->frac;
64 _bt->frac += _x;
65 if (_u > _bt->frac)
74 _u = _bt->frac;
75 _bt->frac += _bt2->frac;
76 if (_u > _bt->frac)
86 _u = _bt->frac;
87 _bt->frac
[all...]
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D__quad_mag64.s47 ! unsigned long frac;
64 ! unsigned long lx, ly, frac, sticky;
87 ! frac = x->ll.frac;
88 ! sticky = ly | y->ll.frac;
90 ! frac = y->ll.frac;
92 ! sticky = frac & 0x7ffffffffffffffful;
93 ! round = frac >> 63;
94 ! frac
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c312 unsigned long frac; local
334 frac = st.st_mtimensec;
336 frac = st.st_mtimespec.tv_nsec;
338 frac = st.st_mtim.tv_nsec;
340 frac = 0;
343 && frac == data->frac_ts
390 data->frac_ts = frac;
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dieee_funcl.s75 / msb(sgnfcnd(x)) = 0 & frac(x) /= 0)
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dieee_funcl.s75 / msb(sgnfcnd(x)) = 0 & frac(x) /= 0)
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dxec.c86 register int min, sec, frac; local
90 frac = t%sh.lim.clk_tck;
91 frac = (frac*100)/sh.lim.clk_tck;
100 sfprintf(outfile,"%dm%d%c%0*ds",min,sec,GETDECIMAL(0),p,frac);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ndp.c4942 clock_t rnd, frac; local
4953 /* Compute 'frac' as 20% of the configured interval */
4954 if ((frac = intv / 5) <= 1)
4955 frac = 2;
4956 /* Set intv randomly in the range [intv-frac .. intv+frac] */
4957 if ((intv = intv - frac + rnd % (2 * frac + 1)) <= 0)
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c140 int whole, frac, i; local
145 frac = mul * numerator / denom - mul * whole;
146 return (mdb_snprintf(buf, len, "%u.%0*u", whole, frac_digits, frac));

Completed in 131 milliseconds