Home | History | Annotate | Download | only in i18n

Lines Matching refs:DECNEG

375   if (in<0) dn->bits=DECNEG;            /* sign needed  */
424 if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000;
429 if (dn->bits&DECNEG) return -i;
443 || (dn->bits&DECNEG && !ISZERO(dn))); /* bad */
549 bits=DECNEG;
770 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status);
974 a->bits&=~DECNEG; /* .. and clear the sign */
988 b->bits&=~DECNEG; /* .. and clear the sign */
1367 res->bits=DECNEG|DECINF; /* -Infinity */
1462 if (!(rhs->bits&(DECNEG|DECSPECIAL)) && !ISZERO(rhs)) {
1670 decAddOp(res, &dzero, rhs, set, DECNEG, &status);
1699 if ((rhs->bits&(DECINF|DECNEG))==DECINF) {
1708 decAddOp(res, rhs, &dtiny, &workset, DECNEG, &status);
1735 if ((rhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) {
1737 res->bits=DECNEG; /* negative */
1787 if ((lhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) {
1789 res->bits=DECNEG; /* negative */
1797 if ((lhs->bits&(DECINF|DECNEG))==DECINF) {
1802 sub=DECNEG; /* subtract, please */
2027 Flag rhsneg=rhs->bits&DECNEG; /* save rhs sign */
2065 && isoddint) bits=DECNEG; /* .. to an odd power */
2077 if (!(rbits & DECNEG)) bits|=DECINF; /* was not a **-n */
2096 if (rbits & DECNEG) { /* was a 0**(-n) */
2259 dac->bits=(dac->bits & ~DECNEG) | bits; /* force correct sign */
3046 decAddOp(b, a, t, &workset, DECNEG, &ignore); /* b = a - 0.5 ulp */
3054 decAddOp(a, a, t, &workset, DECNEG, &ignore); /* a = a - 1 ulp */
3178 decAddOp(res, lhs, rhs, set, DECNEG, &status);
3426 res->bits&=~DECNEG; /* turn off sign */
3447 res->bits^=DECNEG; /* invert the sign */
3469 sign=rhs->bits & DECNEG; /* save sign bit */
3471 res->bits&=~DECNEG; /* clear the sign */
3806 /* negate is DECNEG if rhs should be negated, or 0 otherwise */
3876 diffsign=(Flag)((lhs->bits^rhs->bits^negate)&DECNEG);
3889 bits=lhs->bits & DECNEG; /* get sign from LHS */
3891 else bits=(rhs->bits^negate) & DECNEG;/* RHS must be Infinity */
3917 else res->bits=DECNEG; /* preserve 0 sign */
4081 res->bits=(uByte)(bits&DECNEG); /* it's now safe to overwrite.. */
4099 res->bits^=DECNEG; /* flip the sign */
4165 if (set->round==DEC_ROUND_FLOOR) res->bits|=DECNEG; /* sign - */
4166 else res->bits&=~DECNEG; /* sign + */
4314 bits=(lhs->bits^rhs->bits)&DECNEG; /* assumed sign for divisions */
4706 res->bits=(uByte)(bits&DECNEG); /* [cleaned] */
4801 bits^=DECNEG; /* flip the sign */
4809 res->bits=(uByte)(bits&DECNEG); /* [cleaned] */
4934 bits=(uByte)((lhs->bits^rhs->bits)&DECNEG);
5666 res->bits=DECINF|DECNEG; /* set - infinity */
5753 b->bits=DECNEG; /* ln(0.10)->ln(0.99) always -ve */
5789 a->bits^=DECNEG; /* make -a */
5791 a->bits^=DECNEG; /* restore sign of a */
5794 decAddOp(b, b, &numone, &bset, DECNEG, &ignore); /* b=b-1 */
6150 if (result<0) res->bits=DECNEG;
6160 uByte slhs=(lhs->bits & DECNEG);
6161 uByte srhs=(rhs->bits & DECNEG);
7393 uByte sign=dn->bits&DECNEG; /* clean and save sign bit */