Searched refs:sticky (Results 1 - 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D__quad_mag.c49 unsigned int round, sticky, carry, rm; local
69 round = sticky = 0;
74 sticky = ly | y->l.frac2 | y->l.frac3 | y->l.frac4;
80 sticky = frac4 | frac3 | (frac2 & 0x7fffffff);
86 sticky = frac4 | (frac3 & 0x7fffffff);
93 sticky = frac4 & 0x7fffffff;
102 sticky |= round | (frac4 & ((1 << (e - 1)) - 1));
133 sticky |= round;
153 if (round | sticky) {
158 (sticky || (frac
209 unsigned int guard, round, sticky, borrow, rm; local
[all...]
H A D_Q_qtos.c45 unsigned int xm, round, sticky, fsr, rm; local
123 sticky = (u.l & ((1 << e) - 1)) | (x->l.frac2 & 0x1ffffff) |
130 sticky = (x->l.frac2 & 0xffffff) | x->l.frac3 | x->l.frac4;
135 if (round | sticky) {
141 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky ||
H A D_Q_qtod.c42 unsigned int xm, round, sticky, fsr, rm; local
127 sticky = (x->l.frac3 & 0xfffffff) | x->l.frac4;
130 sticky |= round | (u.l.lo & 0x7fffffff);
137 sticky |= round | (u.l.lo & ((1 << (e - 1)) - 1));
147 sticky = (x->l.frac3 & 0x7ffffff) | x->l.frac4;
152 if (round | sticky) {
158 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky ||
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfma.c77 unsigned int xy0, xy1, xy2, xy3, z0, z1, z2, z3, fsr, rm, sticky; local
175 /* shift the significand of xy keeping a sticky bit */
181 sticky = xy3 | xy2 | xy1 | ((xy0 << 1) << (127 - e));
183 if (sticky)
187 sticky = xy3 | xy2 | ((xy1 << 1) << (95 - e));
189 if (sticky)
194 sticky = xy3 | ((xy2 << 1) << (63 - e));
196 if (sticky)
202 sticky = (xy3 << 1) << (31 - e);
204 if (sticky)
[all...]
H A Dfmal.c95 unsigned int rm, sticky; local
507 /* shift the significand of xy keeping a sticky bit */
513 sticky = xy7 | xy6 | xy5 | xy4 | xy3 | xy2 | xy1 |
516 if (sticky)
520 sticky = xy7 | xy6 | xy5 | xy4 | xy3 | xy2 |
523 if (sticky)
528 sticky = xy7 | xy6 | xy5 | xy4 | xy3 |
531 if (sticky)
537 sticky = xy7 | xy6 | xy5 | xy4 | ((xy3 << 1) << (159 - e));
539 if (sticky)
881 unsigned oldcwsw, cwsw, rm, sticky, carry; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Ddouble_decim.c37 * for inexact or overflow in *ps. round is the round digit and sticky is 0
43 char round, unsigned sticky)
47 if ((round == '0') && (sticky == 0)) { /* Exact. */
58 if (sticky != 0)
346 unsigned sticky = 0; local
416 * sticky. */
423 * sticky. */
454 sticky = 1;
456 sticky = 1;
471 if (sticky
42 decimal_round(decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps, char round, unsigned sticky) argument
[all...]
H A D_Qfaddsub.c69 pz->rounded = pz->sticky = 0;
74 pz->sticky = py->sticky;
140 pz->sticky = 0;
167 s = py->sticky; /* sticky bit */
179 pz->sticky = s|r;
182 pz->sticky = s;
H A D_Qglobals.h53 int sticky; /* stick bit */ member in struct:__anon2791
78 /* Right shift significand sticky by n bits. */
H A D_base_sup.c197 _BIG_FLOAT_DIGIT sticky, carry; local
225 sticky = 0;
230 sticky = carry % 10;
235 sticky = carry % 100;
240 sticky = carry % 1000;
246 if (sticky != 0)
H A D_Qfunpack.c39 pu->sticky = pu->rounded = 0;
62 pu->sticky = pu->rounded = 0;
108 pu->sticky = pu->rounded = 0;
156 pu->sticky = pu->rounded = 0;
H A D_Qfutility.c91 /* Right shift significand sticky by n bits. */
103 pu->sticky = 1;
112 pu->sticky |= pu->rounded | (pu->significand[3]&0x7fffffff);
128 pu->sticky |= pu->rounded | (u3&j);
275 (pu->sticky!=0),pu->exponent);
H A D_Qfdiv.c153 if((r[0]|r[1]|r[2]|r[3])==0) pz->sticky = pz->rounded = 0;
155 pz->sticky = 1; /* half way case won't occur */
290 pz->sticky = pz->rounded = 0;
292 pz->sticky = 1;
H A D_Qfpack.c68 sr = pu->sticky|pu->rounded;
104 (pu->sticky == 0) && increment!=0) { /* ambiguous case */
409 pu->sticky=pu->rounded=0;
H A D_Qfmul.c168 pz->sticky = s|r;
176 pz->sticky = s;
H A D_sprintf_sup.c147 _BIG_FLOAT_DIGIT *sticky)
150 /* Any bits shifted out got to *sticky. */
162 *sticky = (_BIG_FLOAT_DIGIT) carry;
146 _right_shift_base_two(_big_float *pbf, short unsigned multiplier, _BIG_FLOAT_DIGIT *sticky) argument
/illumos-gate/usr/src/uts/sparc/fpu/
H A Daddsub.c68 pz->rounded = pz->sticky = 0;
73 pz->sticky = py->sticky;
137 pz->sticky = 0;
168 s = py->sticky; /* sticky bit */
184 pz->sticky = s|r;
187 pz->sticky = s;
H A Dutility.c127 * Right shift significand sticky by n bits.
141 pu->sticky = 1;
150 pu->sticky |= pu->rounded | (pu->significand[3]&0x7fffffff);
166 pu->sticky |= pu->rounded | (u3&j);
320 (pu->sticky != 0), pu->exponent);
H A Dunpack.c41 pu->sticky = pu->rounded = 0;
80 pu->sticky = pu->rounded = 0;
105 pu->sticky = pu->rounded = 0;
153 pu->sticky = pu->rounded = 0;
205 pu->sticky = pu->rounded = 0;
H A Ddiv.c154 if ((r[0]|r[1]|r[2]|r[3]) == 0) pz->sticky = pz->rounded = 0;
156 pz->sticky = 1; /* half way case won't occur */
297 pz->sticky = pz->rounded = 0;
299 pz->sticky = 1;
H A Dmul.c170 pz->sticky = s|r;
178 pz->sticky = s;
H A Dpack.c72 sr = pu->sticky|pu->rounded;
108 (pu->sticky == 0) && increment != 0) { /* ambiguous case */
543 pu->sticky = pu->rounded = 0;
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D__quad_mag64.s64 ! unsigned long lx, ly, frac, sticky;
85 ! round = sticky = 0;
88 ! sticky = ly | y->ll.frac;
92 ! sticky = frac & 0x7ffffffffffffffful;
99 ! sticky |= round | (frac & ((1ul << (e - 1)) - 1));
113 ! sticky |= round;
131 ! if (round | sticky) {
136 ! (sticky || (frac & 1)))) {
208 mov 0,%o7 ! o7 = sticky
357 ! unsigned long lx, ly, frac, sticky;
[all...]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddouble_decim.c69 * significant digits. On exit, *sticky is nonzero if *pb had a
84 int *sticky)
143 /* continue accumulating sticky flag */
146 *sticky = s;
157 * in *ps. If sticky is nonzero, then additional nonzero digits are
175 __big_decimal_to_string(_big_float *pf, int sticky, decimal_mode *pm, argument
242 sticky |= (s[j++] - '0');
261 sticky |= (s[j++] - '0');
272 sticky |= pf->bsignificand[i--];
283 if (round == '0' && sticky
83 __big_binary_to_big_decimal(_big_float *pb, int nsig, _big_float **ppd, int *sticky) argument
342 int sticky, powten, sigbits, sigdigits, i; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dreadcf.c1937 ** sticky -- if set, don't let other setoptions override
2373 setoption(opt, val, safe, sticky, e)
2377 bool sticky;
2501 if (!sticky && bitnset(opt, StickyOpt))
2798 sticky = false;
2857 sticky = false;
2887 inittimeouts(val, sticky);
2889 settimeout(subopt, val, sticky);
2923 settimeout("queuewarn", p, sticky);
2925 settimeout("queuereturn", val, sticky);
[all...]
/illumos-gate/usr/src/uts/sparc/sys/fpu/
H A Dglobals.h72 int sticky; /* stick bit */ member in struct:__anon9683

Completed in 196 milliseconds

12