Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java3866 int asInt = (int)val; in checkScale() local
3867 if (asInt != val) { in checkScale()
3868 asInt = val>Integer.MAX_VALUE ? Integer.MAX_VALUE : Integer.MIN_VALUE; in checkScale()
3872 throw new ArithmeticException(asInt>0 ? "Underflow":"Overflow"); in checkScale()
3874 return asInt; in checkScale()
3972 int asInt = (int)val; in checkScaleNonZero() local
3973 if (asInt != val) { in checkScaleNonZero()
3974 throw new ArithmeticException(asInt>0 ? "Underflow":"Overflow"); in checkScaleNonZero()
3976 return asInt; in checkScaleNonZero()
3980 int asInt = (int)val; in checkScale() local
[all …]