Searched refs:lastParsed (Results 1 - 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
H A Dnumfmtst.h329 double checkRound(DecimalFormat* df, double iValue, double lastParsed);
H A Dnumfmtst.cpp3392 double lastParsed=INT32_MIN; //Intger.MIN_VALUE local
3400 lastParsed=checkRound(df, iValue-smallIncrement, lastParsed);
3401 lastParsed=checkRound(df, iValue, lastParsed);
3402 lastParsed=checkRound(df, iValue+smallIncrement, lastParsed);
3406 double NumberFormatTest::checkRound(DecimalFormat* df, double iValue, double lastParsed) { argument
3425 if (lastParsed>parsed) {
3426 errln("Rounding wrong direction! %d > %d", lastParsed, parse
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTest.java2661 BigDecimal lastParsed = new BigDecimal(Integer.MIN_VALUE); // used to make sure that rounding is monotonic
2669 lastParsed = checkRound(nf, iValue.subtract(smallIncrement), lastParsed);
2670 lastParsed = checkRound(nf, iValue, lastParsed);
2671 lastParsed = checkRound(nf, iValue.add(smallIncrement), lastParsed);
2675 private BigDecimal checkRound(DecimalFormat nf, BigDecimal iValue, BigDecimal lastParsed) { argument
2696 if (lastParsed.compareTo(parsed) > 0) {
2697 errln("Rounding wrong direction!: " + lastParsed
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java2660 BigDecimal lastParsed = new BigDecimal(Integer.MIN_VALUE); // used to make sure that rounding is monotonic
2668 lastParsed = checkRound(nf, iValue.subtract(smallIncrement), lastParsed);
2669 lastParsed = checkRound(nf, iValue, lastParsed);
2670 lastParsed = checkRound(nf, iValue.add(smallIncrement), lastParsed);
2674 private BigDecimal checkRound(DecimalFormat nf, BigDecimal iValue, BigDecimal lastParsed) { argument
2695 if (lastParsed.compareTo(parsed) > 0) {
2696 errln("Rounding wrong direction!: " + lastParsed
[all...]

Completed in 142 milliseconds