• Home
  • Raw
  • Download

Lines Matching refs:decNumberIsNegative

829   if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs)  in uprv_decNumberAnd()
830 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in uprv_decNumberAnd()
965 if (decNumberIsNegative(lhs)) { /* lhs<0 */ in uprv_decNumberCompareTotalMag()
979 if (decNumberIsNegative(rhs)) { /* rhs<0 */ in uprv_decNumberCompareTotalMag()
1226 if (rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in uprv_decNumberInvert()
1845 if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs) in uprv_decNumberOr()
1846 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in uprv_decNumberOr()
2030 if (decNumberIsNegative(lhs) /* lhs<0 */ in uprv_decNumberPower()
2038 if (decNumberIsNegative(dac)) { /* lhs<1 */ in uprv_decNumberPower()
2066 if (decNumberIsNegative(lhs) /* -x .. */ in uprv_decNumberPower()
2076 if (!rhsint && decNumberIsNegative(lhs)) { in uprv_decNumberPower()
2117 if (decNumberIsNegative(lhs)) { in uprv_decNumberPower()
2203 if (decNumberIsNegative(rhs)) { /* was a **-n [hence digits>0] */ in uprv_decNumberPower()
2252 if (!set->extended && decNumberIsNegative(rhs)) { in uprv_decNumberPower()
2271 decNumberIsNegative(rhs)) { /* was a **-n [hence digits>0] */ in uprv_decNumberPower()
2886 if (decNumberIsNegative(rhs)) status|=DEC_Invalid_operation; in uprv_decNumberSquareRoot()
2908 if (decNumberIsNegative(rhs)) { in uprv_decNumberSquareRoot()
3052 if (decNumberIsNegative(b)) { /* f < b [i.e., b > f] */ in uprv_decNumberSquareRoot()
3067 if (decNumberIsNegative(b)) { /* b < f */ in uprv_decNumberSquareRoot()
3275 if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs) in uprv_decNumberXor()
3276 || rhs->exponent!=0 || decNumberIsSpecial(rhs) || decNumberIsNegative(rhs)) { in uprv_decNumberXor()
3335 if (decNumberIsNegative(dn)) return DEC_CLASS_NEG_INF; in uprv_decNumberClass()
3340 if (decNumberIsNegative(dn)) return DEC_CLASS_NEG_NORMAL; in uprv_decNumberClass()
3345 if (decNumberIsNegative(dn)) return DEC_CLASS_NEG_ZERO; in uprv_decNumberClass()
3348 if (decNumberIsNegative(dn)) return DEC_CLASS_NEG_SUBNORMAL; in uprv_decNumberClass()
3667 if (decNumberIsNegative(dn)) { /* Negatives get a minus */ in decToString()
5307 if (decNumberIsNegative(rhs)) /* -Infinity -> +0 */ in decExpOp()
5336 if (decNumberIsNegative(rhs)) d->exponent--; /* negative case */ in decExpOp()
5372 if (decNumberIsNegative(rhs)) a->exponent=-2; /* make 0.02 */ in decExpOp()
5659 if (decNumberIsNegative(rhs)) /* -Infinity -> error */
5672 if (decNumberIsNegative(rhs)) { /* -x -> error */
6082 if (decNumberIsNegative(lhs) && !decNumberIsNegative(rhs)) {
6086 if (!decNumberIsNegative(lhs) && decNumberIsNegative(rhs)) {
6113 if (decNumberIsNegative(lhs)) result=-result;
6146 if (decNumberIsNegative(lhs)) result=-result;
6228 if (result && decNumberIsNegative(lhs)) result=-1;
6231 else if (decNumberIsNegative(rhs)) sigr=-1;
7166 if (decNumberIsNegative(dn)) {
7177 if (!decNumberIsNegative(dn)) {
7592 Flag neg=decNumberIsNegative(dn); /* 1 if -ve */
7866 if (decNumberIsNegative(dn)) isign='-';