/titanic_41/usr/src/lib/libc/sparc/fp/ |
H A D | __quad_mag.c | 49 unsigned int round, sticky, carry, rm; in __quad_mag_add() local 69 round = sticky = 0; in __quad_mag_add() 74 sticky = ly | y->l.frac2 | y->l.frac3 | y->l.frac4; in __quad_mag_add() 80 sticky = frac4 | frac3 | (frac2 & 0x7fffffff); in __quad_mag_add() 86 sticky = frac4 | (frac3 & 0x7fffffff); in __quad_mag_add() 93 sticky = frac4 & 0x7fffffff; in __quad_mag_add() 102 sticky |= round | (frac4 & ((1 << (e - 1)) - 1)); in __quad_mag_add() 133 sticky |= round; in __quad_mag_add() 153 if (round | sticky) { in __quad_mag_add() 158 (sticky || (frac4 & 1)))) { in __quad_mag_add() [all …]
|
H A D | _Q_qtod.c | 42 unsigned int xm, round, sticky, fsr, rm; in _Q_qtod() local 127 sticky = (x->l.frac3 & 0xfffffff) | x->l.frac4; in _Q_qtod() 130 sticky |= round | (u.l.lo & 0x7fffffff); in _Q_qtod() 137 sticky |= round | (u.l.lo & ((1 << (e - 1)) - 1)); in _Q_qtod() 147 sticky = (x->l.frac3 & 0x7ffffff) | x->l.frac4; in _Q_qtod() 152 if (round | sticky) { in _Q_qtod() 158 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky || in _Q_qtod()
|
H A D | _Q_qtos.c | 45 unsigned int xm, round, sticky, fsr, rm; in _Q_qtos() local 123 sticky = (u.l & ((1 << e) - 1)) | (x->l.frac2 & 0x1ffffff) | in _Q_qtos() 130 sticky = (x->l.frac2 & 0xffffff) | x->l.frac3 | x->l.frac4; in _Q_qtos() 135 if (round | sticky) { in _Q_qtos() 141 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky || in _Q_qtos()
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | fmal.c | 95 unsigned int rm, sticky; in __fmal() local 513 sticky = xy7 | xy6 | xy5 | xy4 | xy3 | xy2 | xy1 | in __fmal() 516 if (sticky) in __fmal() 520 sticky = xy7 | xy6 | xy5 | xy4 | xy3 | xy2 | in __fmal() 523 if (sticky) in __fmal() 528 sticky = xy7 | xy6 | xy5 | xy4 | xy3 | in __fmal() 531 if (sticky) in __fmal() 537 sticky = xy7 | xy6 | xy5 | xy4 | ((xy3 << 1) << (159 - e)); in __fmal() 539 if (sticky) in __fmal() 546 sticky = xy7 | xy6 | xy5 | ((xy4 << 1) << (127 - e)); in __fmal() [all …]
|
H A D | fma.c | 77 unsigned int xy0, xy1, xy2, xy3, z0, z1, z2, z3, fsr, rm, sticky; in __fma() local 181 sticky = xy3 | xy2 | xy1 | ((xy0 << 1) << (127 - e)); in __fma() 183 if (sticky) in __fma() 187 sticky = xy3 | xy2 | ((xy1 << 1) << (95 - e)); in __fma() 189 if (sticky) in __fma() 194 sticky = xy3 | ((xy2 << 1) << (63 - e)); in __fma() 196 if (sticky) in __fma() 202 sticky = (xy3 << 1) << (31 - e); in __fma() 204 if (sticky) in __fma() 250 sticky = z3 | z2 | ((z1 << 1) << (63 - e)); in __fma() [all …]
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | double_decim.c | 43 char round, unsigned sticky) in decimal_round() argument 47 if ((round == '0') && (sticky == 0)) { /* Exact. */ in decimal_round() 58 if (sticky != 0) in decimal_round() 346 unsigned sticky = 0; in _unpacked_to_decimal() local 454 sticky = 1; in _unpacked_to_decimal() 456 sticky = 1; in _unpacked_to_decimal() 471 if (sticky == 0) { /* Search for sticky in _unpacked_to_decimal() 475 sticky = 1; in _unpacked_to_decimal() 512 if (sticky == 0) { /* Find out if remainder in _unpacked_to_decimal() 518 sticky = 1; in _unpacked_to_decimal() [all …]
|
H A D | _Qfaddsub.c | 69 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 | _base_sup.c | 197 _BIG_FLOAT_DIGIT sticky, carry; in _big_decimal_to_big_binary() local 225 sticky = 0; in _big_decimal_to_big_binary() 230 sticky = carry % 10; in _big_decimal_to_big_binary() 235 sticky = carry % 100; in _big_decimal_to_big_binary() 240 sticky = carry % 1000; in _big_decimal_to_big_binary() 246 if (sticky != 0) in _big_decimal_to_big_binary()
|
H A D | _Qfunpack.c | 39 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.c | 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.c | 153 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.c | 68 sr = pu->sticky|pu->rounded; 104 (pu->sticky == 0) && increment!=0) { /* ambiguous case */ 409 pu->sticky=pu->rounded=0;
|
H A D | _Qfmul.c | 168 pz->sticky = s|r; 176 pz->sticky = s;
|
H A D | _Qglobals.h | 53 int sticky; /* stick bit */ member
|
H A D | _sprintf_sup.c | 147 _BIG_FLOAT_DIGIT *sticky) in _right_shift_base_two() argument 162 *sticky = (_BIG_FLOAT_DIGIT) carry; in _right_shift_base_two()
|
/titanic_41/usr/src/uts/sparc/fpu/ |
H A D | addsub.c | 68 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 D | unpack.c | 41 pu->sticky = pu->rounded = 0; in unpackint32() 80 pu->sticky = pu->rounded = 0; in unpackint64() 105 pu->sticky = pu->rounded = 0; in unpacksingle() 153 pu->sticky = pu->rounded = 0; in unpackdouble() 205 pu->sticky = pu->rounded = 0; in unpackextended()
|
H A D | utility.c | 141 pu->sticky = 1; in fpu_rightshift() 150 pu->sticky |= pu->rounded | (pu->significand[3]&0x7fffffff); in fpu_rightshift() 166 pu->sticky |= pu->rounded | (u3&j); in fpu_rightshift() 320 (pu->sticky != 0), pu->exponent);
|
H A D | div.c | 154 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 D | mul.c | 170 pz->sticky = s|r; 178 pz->sticky = s;
|
H A D | pack.c | 72 sr = pu->sticky|pu->rounded; in round() 108 (pu->sticky == 0) && increment != 0) { /* ambiguous case */ in round() 543 pu->sticky = pu->rounded = 0; in _fp_pack()
|
/titanic_41/usr/src/lib/libc/sparcv9/fp/ |
H A D | __quad_mag64.s | 64 ! 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 …]
|
/titanic_41/usr/src/lib/libc/port/fp/ |
H A D | double_decim.c | 84 int *sticky) in __big_binary_to_big_decimal() argument 146 *sticky = s; in __big_binary_to_big_decimal() 175 __big_decimal_to_string(_big_float *pf, int sticky, decimal_mode *pm, in __big_decimal_to_string() argument 242 sticky |= (s[j++] - '0'); in __big_decimal_to_string() 261 sticky |= (s[j++] - '0'); in __big_decimal_to_string() 272 sticky |= pf->bsignificand[i--]; in __big_decimal_to_string() 283 if (round == '0' && sticky == 0) in __big_decimal_to_string() 290 if (round < '5' || (round == '5' && sticky == 0 && in __big_decimal_to_string() 342 int sticky, powten, sigbits, sigdigits, i; in __bigfloat_to_decimal() local 413 __big_binary_to_big_decimal(pbf, sigdigits, &pbd, &sticky); in __bigfloat_to_decimal() [all …]
|
H A D | decimal_bin.c | 55 int *sticky) in __big_decimal_to_big_binary() argument 133 *sticky = s; in __big_decimal_to_big_binary() 152 int sticky, powtwo, sigdigits; in __decimal_to_unpacked() local 233 __big_decimal_to_big_binary(pbd, sigbits + 2, &pbb, &sticky); in __decimal_to_unpacked() 257 if (sticky | pd->more) in __decimal_to_unpacked()
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | readcf.c | 2373 setoption(opt, val, safe, sticky, e) in setoption() argument 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); 3402 sticky = false; [all …]
|