Lines Matching refs:decNumberIsNegative
831 if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs) in uprv_decNumberAnd()
832 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in uprv_decNumberAnd()
967 if (decNumberIsNegative(lhs)) { /* lhs<0 */ in uprv_decNumberCompareTotalMag()
981 if (decNumberIsNegative(rhs)) { /* rhs<0 */ in uprv_decNumberCompareTotalMag()
1228 if (rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in uprv_decNumberInvert()
1847 if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs) in uprv_decNumberOr()
1848 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in uprv_decNumberOr()
2032 if (decNumberIsNegative(lhs) /* lhs<0 */ in uprv_decNumberPower()
2040 if (decNumberIsNegative(dac)) { /* lhs<1 */ in uprv_decNumberPower()
2068 if (decNumberIsNegative(lhs) /* -x .. */ in uprv_decNumberPower()
2078 if (!rhsint && decNumberIsNegative(lhs)) { in uprv_decNumberPower()
2119 if (decNumberIsNegative(lhs)) { in uprv_decNumberPower()
2205 if (decNumberIsNegative(rhs)) { /* was a **-n [hence digits>0] */ in uprv_decNumberPower()
2254 if (!set->extended && decNumberIsNegative(rhs)) { in uprv_decNumberPower()
2273 decNumberIsNegative(rhs)) { /* was a **-n [hence digits>0] */ in uprv_decNumberPower()
2888 if (decNumberIsNegative(rhs)) status|=DEC_Invalid_operation; in uprv_decNumberSquareRoot()
2910 if (decNumberIsNegative(rhs)) { in uprv_decNumberSquareRoot()
3054 if (decNumberIsNegative(b)) { /* f < b [i.e., b > f] */ in uprv_decNumberSquareRoot()
3069 if (decNumberIsNegative(b)) { /* b < f */ in uprv_decNumberSquareRoot()
3277 if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs) in uprv_decNumberXor()
3278 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in uprv_decNumberXor()
3337 if (decNumberIsNegative(dn)) return DEC_CLASS_NEG_INF; in uprv_decNumberClass()
3342 if (decNumberIsNegative(dn)) return DEC_CLASS_NEG_NORMAL; in uprv_decNumberClass()
3347 if (decNumberIsNegative(dn)) return DEC_CLASS_NEG_ZERO; in uprv_decNumberClass()
3350 if (decNumberIsNegative(dn)) return DEC_CLASS_NEG_SUBNORMAL; in uprv_decNumberClass()
3669 if (decNumberIsNegative(dn)) { /* Negatives get a minus */ in decToString()
5309 if (decNumberIsNegative(rhs)) /* -Infinity -> +0 */ in decExpOp()
5338 if (decNumberIsNegative(rhs)) d->exponent--; /* negative case */ in decExpOp()
5374 if (decNumberIsNegative(rhs)) a->exponent=-2; /* make 0.02 */ in decExpOp()
5661 if (decNumberIsNegative(rhs)) /* -Infinity -> error */
5674 if (decNumberIsNegative(rhs)) { /* -x -> error */
6084 if (decNumberIsNegative(lhs) && !decNumberIsNegative(rhs)) {
6088 if (!decNumberIsNegative(lhs) && decNumberIsNegative(rhs)) {
6115 if (decNumberIsNegative(lhs)) result=-result;
6148 if (decNumberIsNegative(lhs)) result=-result;
6230 if (result && decNumberIsNegative(lhs)) result=-1;
6233 else if (decNumberIsNegative(rhs)) sigr=-1;
7168 if (decNumberIsNegative(dn)) {
7179 if (!decNumberIsNegative(dn)) {
7594 Flag neg=decNumberIsNegative(dn); /* 1 if -ve */
7868 if (decNumberIsNegative(dn)) isign='-';