Home
last modified time | relevance | path

Searched refs:DECNEG (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
DdecNumber.cpp377 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()
[all …]
Dnumber_utils.cpp160 fData.getAlias()->bits |= static_cast<uint8_t>(std::signbit(d) ? DECNEG : 0); in setTo()
219 fData.getAlias()->bits = static_cast<uint8_t>(isNegative ? DECNEG : 0); in setTo()
DdecNumber.h44 #define DECNEG 0x80 /* Sign; 1=negative, 0=positive or zero */ macro
189 #define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0)