Home
last modified time | relevance | path

Searched refs:maximumDigits (Results 1 – 2 of 2) sorted by relevance

/external/icu4c/i18n/
Ddigitlst.cpp433 DigitList::set(int32_t source, int32_t maximumDigits) in set() argument
435 set((int64_t)source, maximumDigits); in set()
444 DigitList::set(int64_t source, int32_t maximumDigits) in set() argument
454 if(maximumDigits > 0) in set()
455 round(maximumDigits); in set()
470 DigitList::set(double source, int32_t maximumDigits, UBool fixedPoint) in set() argument
510 if (fixedPoint && -fDecimalAt >= maximumDigits) in set()
514 if (-fDecimalAt == maximumDigits && shouldRoundUp(0)) { in set()
530 if (fixedPoint || (0 < maximumDigits && maximumDigits < fCount)) { in set()
531 round(fixedPoint ? (maximumDigits + fDecimalAt) : maximumDigits); in set()
[all …]
Ddigitlst.h174 void set(double source, int32_t maximumDigits, UBool fixedPoint = TRUE);
183 void set(int32_t source, int32_t maximumDigits = 0);
192 void set(int64_t source, int32_t maximumDigits = 0);
252 void round(int32_t maximumDigits);
254 UBool shouldRoundUp(int32_t maximumDigits) const;