Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java373 private static final BigDecimal ZERO_THROUGH_TEN[] = { field in BigDecimal
389 ZERO_THROUGH_TEN[0],
418 ZERO_THROUGH_TEN[0];
426 ZERO_THROUGH_TEN[1];
434 ZERO_THROUGH_TEN[10];
1321 if (val >= 0 && val < ZERO_THROUGH_TEN.length) in valueOf()
1322 return ZERO_THROUGH_TEN[(int)val]; in valueOf()
1329 if (scale == 0 && unscaledVal >= 0 && unscaledVal < ZERO_THROUGH_TEN.length) { in valueOf()
1330 return ZERO_THROUGH_TEN[(int) unscaledVal]; in valueOf()
1342 } else if (scale == 0 && val >= 0 && val < ZERO_THROUGH_TEN.length) { in valueOf()
[all …]