• Home
  • Raw
  • Download

Lines Matching refs:DECNEG

377   if (in<0) dn->bits=DECNEG;            /* sign needed  */  in uprv_decNumberFromInt32()
426 if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000; in uprv_decNumberToInt32()
431 if (dn->bits&DECNEG) return -i; in uprv_decNumberToInt32()
445 || (dn->bits&DECNEG && !ISZERO(dn))); /* bad */ in uprv_decNumberToUInt32()
551 bits=DECNEG; in uprv_decNumberFromString()
774 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in uprv_decNumberAbs()
978 a->bits&=~DECNEG; /* .. and clear the sign */ in uprv_decNumberCompareTotalMag()
992 b->bits&=~DECNEG; /* .. and clear the sign */ in uprv_decNumberCompareTotalMag()
1371 res->bits=DECNEG|DECINF; /* -Infinity */ in uprv_decNumberLogB()
1466 if (!(rhs->bits&(DECNEG|DECSPECIAL)) && !ISZERO(rhs)) { in uprv_decNumberLog10()
1674 decAddOp(res, &dzero, rhs, set, DECNEG, &status); in uprv_decNumberMinus()
1703 if ((rhs->bits&(DECINF|DECNEG))==DECINF) { in uprv_decNumberNextMinus()
1712 decAddOp(res, rhs, &dtiny, &workset, DECNEG, &status); in uprv_decNumberNextMinus()
1739 if ((rhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { in uprv_decNumberNextPlus()
1741 res->bits=DECNEG; /* negative */ in uprv_decNumberNextPlus()
1791 if ((lhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { in uprv_decNumberNextToward()
1793 res->bits=DECNEG; /* negative */ in uprv_decNumberNextToward()
1801 if ((lhs->bits&(DECINF|DECNEG))==DECINF) { in uprv_decNumberNextToward()
1806 sub=DECNEG; /* subtract, please */ in uprv_decNumberNextToward()
2031 Flag rhsneg=rhs->bits&DECNEG; /* save rhs sign */ in uprv_decNumberPower()
2069 && isoddint) bits=DECNEG; /* .. to an odd power */ in uprv_decNumberPower()
2081 if (!(rbits & DECNEG)) bits|=DECINF; /* was not a **-n */ in uprv_decNumberPower()
2100 if (rbits & DECNEG) { /* was a 0**(-n) */ in uprv_decNumberPower()
2263 dac->bits=(dac->bits & ~DECNEG) | bits; /* force correct sign */ in uprv_decNumberPower()
3050 decAddOp(b, a, t, &workset, DECNEG, &ignore); /* b = a - 0.5 ulp */ in uprv_decNumberSquareRoot()
3058 decAddOp(a, a, t, &workset, DECNEG, &ignore); /* a = a - 1 ulp */ in uprv_decNumberSquareRoot()
3182 decAddOp(res, lhs, rhs, set, DECNEG, &status); in uprv_decNumberSubtract()
3430 res->bits&=~DECNEG; /* turn off sign */ in uprv_decNumberCopyAbs()
3451 res->bits^=DECNEG; /* invert the sign */ in uprv_decNumberCopyNegate()
3473 sign=rhs->bits & DECNEG; /* save sign bit */ in uprv_decNumberCopySign()
3475 res->bits&=~DECNEG; /* clear the sign */ in uprv_decNumberCopySign()
3880 diffsign=(Flag)((lhs->bits^rhs->bits^negate)&DECNEG); in decAddOp()
3893 bits=lhs->bits & DECNEG; /* get sign from LHS */ in decAddOp()
3895 else bits=(rhs->bits^negate) & DECNEG;/* RHS must be Infinity */ in decAddOp()
3921 else res->bits=DECNEG; /* preserve 0 sign */ in decAddOp()
4085 res->bits=(uByte)(bits&DECNEG); /* it's now safe to overwrite.. */ in decAddOp()
4103 res->bits^=DECNEG; /* flip the sign */ in decAddOp()
4169 if (set->round==DEC_ROUND_FLOOR) res->bits|=DECNEG; /* sign - */ in decAddOp()
4170 else res->bits&=~DECNEG; /* sign + */ in decAddOp()
4318 bits=(lhs->bits^rhs->bits)&DECNEG; /* assumed sign for divisions */ in decDivideOp()
4710 res->bits=(uByte)(bits&DECNEG); /* [cleaned] */ in decDivideOp()
4805 bits^=DECNEG; /* flip the sign */ in decDivideOp()
4813 res->bits=(uByte)(bits&DECNEG); /* [cleaned] */ in decDivideOp()
4938 bits=(uByte)((lhs->bits^rhs->bits)&DECNEG); in decMultiplyOp()
5670 res->bits=DECINF|DECNEG; /* set - infinity */
5757 b->bits=DECNEG; /* ln(0.10)->ln(0.99) always -ve */
5793 a->bits^=DECNEG; /* make -a */
5795 a->bits^=DECNEG; /* restore sign of a */
5798 decAddOp(b, b, &numone, &bset, DECNEG, &ignore); /* b=b-1 */
6154 if (result<0) res->bits=DECNEG;
6164 uByte slhs=(lhs->bits & DECNEG);
6165 uByte srhs=(rhs->bits & DECNEG);
7397 uByte sign=dn->bits&DECNEG; /* clean and save sign bit */