Lines Matching refs:DECNEG

375   if (in<0) dn->bits=DECNEG;            /* sign needed  */  in uprv_decNumberFromInt32()
424 if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000; in uprv_decNumberToInt32()
429 if (dn->bits&DECNEG) return -i; in uprv_decNumberToInt32()
443 || (dn->bits&DECNEG && !ISZERO(dn))); /* bad */ in uprv_decNumberToUInt32()
549 bits=DECNEG; in uprv_decNumberFromString()
770 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in uprv_decNumberAbs()
974 a->bits&=~DECNEG; /* .. and clear the sign */ in uprv_decNumberCompareTotalMag()
988 b->bits&=~DECNEG; /* .. and clear the sign */ in uprv_decNumberCompareTotalMag()
1367 res->bits=DECNEG|DECINF; /* -Infinity */ in uprv_decNumberLogB()
1462 if (!(rhs->bits&(DECNEG|DECSPECIAL)) && !ISZERO(rhs)) { in uprv_decNumberLog10()
1670 decAddOp(res, &dzero, rhs, set, DECNEG, &status); in uprv_decNumberMinus()
1699 if ((rhs->bits&(DECINF|DECNEG))==DECINF) { in uprv_decNumberNextMinus()
1708 decAddOp(res, rhs, &dtiny, &workset, DECNEG, &status); in uprv_decNumberNextMinus()
1735 if ((rhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { in uprv_decNumberNextPlus()
1737 res->bits=DECNEG; /* negative */ in uprv_decNumberNextPlus()
1787 if ((lhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { in uprv_decNumberNextToward()
1789 res->bits=DECNEG; /* negative */ in uprv_decNumberNextToward()
1797 if ((lhs->bits&(DECINF|DECNEG))==DECINF) { in uprv_decNumberNextToward()
1802 sub=DECNEG; /* subtract, please */ in uprv_decNumberNextToward()
2027 Flag rhsneg=rhs->bits&DECNEG; /* save rhs sign */ in uprv_decNumberPower()
2065 && isoddint) bits=DECNEG; /* .. to an odd power */ in uprv_decNumberPower()
2077 if (!(rbits & DECNEG)) bits|=DECINF; /* was not a **-n */ in uprv_decNumberPower()
2096 if (rbits & DECNEG) { /* was a 0**(-n) */ in uprv_decNumberPower()
2259 dac->bits=(dac->bits & ~DECNEG) | bits; /* force correct sign */ in uprv_decNumberPower()
3046 decAddOp(b, a, t, &workset, DECNEG, &ignore); /* b = a - 0.5 ulp */ in uprv_decNumberSquareRoot()
3054 decAddOp(a, a, t, &workset, DECNEG, &ignore); /* a = a - 1 ulp */ in uprv_decNumberSquareRoot()
3178 decAddOp(res, lhs, rhs, set, DECNEG, &status); in uprv_decNumberSubtract()
3426 res->bits&=~DECNEG; /* turn off sign */ in uprv_decNumberCopyAbs()
3447 res->bits^=DECNEG; /* invert the sign */ in uprv_decNumberCopyNegate()
3469 sign=rhs->bits & DECNEG; /* save sign bit */ in uprv_decNumberCopySign()
3471 res->bits&=~DECNEG; /* clear the sign */ in uprv_decNumberCopySign()
3876 diffsign=(Flag)((lhs->bits^rhs->bits^negate)&DECNEG); in decAddOp()
3889 bits=lhs->bits & DECNEG; /* get sign from LHS */ in decAddOp()
3891 else bits=(rhs->bits^negate) & DECNEG;/* RHS must be Infinity */ in decAddOp()
3917 else res->bits=DECNEG; /* preserve 0 sign */ in decAddOp()
4081 res->bits=(uByte)(bits&DECNEG); /* it's now safe to overwrite.. */ in decAddOp()
4099 res->bits^=DECNEG; /* flip the sign */ in decAddOp()
4165 if (set->round==DEC_ROUND_FLOOR) res->bits|=DECNEG; /* sign - */ in decAddOp()
4166 else res->bits&=~DECNEG; /* sign + */ in decAddOp()
4314 bits=(lhs->bits^rhs->bits)&DECNEG; /* assumed sign for divisions */ in decDivideOp()
4706 res->bits=(uByte)(bits&DECNEG); /* [cleaned] */ in decDivideOp()
4801 bits^=DECNEG; /* flip the sign */ in decDivideOp()
4809 res->bits=(uByte)(bits&DECNEG); /* [cleaned] */ in decDivideOp()
4934 bits=(uByte)((lhs->bits^rhs->bits)&DECNEG); in decMultiplyOp()
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 */