Home
last modified time | relevance | path

Searched defs:scale (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/io/
DMemoryTest.java32 int scale = SizeOf.INT; in testSetIntArray() local
73 int scale = SizeOf.LONG; in testSetLongArray() local
111 int scale = SizeOf.SHORT; in testSetShortArray() local
/libcore/luni/src/main/java/java/math/
DBigDecimal.java224 private int scale; field in BigDecimal
237 private BigDecimal(long smallValue, int scale){ in BigDecimal()
243 private BigDecimal(int smallValue, int scale){ in BigDecimal()
508 … setUnscaledValue(Multiplication.multiplyByFivePow(BigInteger.valueOf(mantissa), scale)); in BigDecimal() local
574 public BigDecimal(BigInteger unscaledVal, int scale) { in BigDecimal()
597 public BigDecimal(BigInteger unscaledVal, int scale, MathContext mc) { in BigDecimal()
669 public static BigDecimal valueOf(long unscaledVal, int scale) { in valueOf()
991 public BigDecimal divide(BigDecimal divisor, int scale, int roundingMode) { in divide()
1018 public BigDecimal divide(BigDecimal divisor, int scale, RoundingMode roundingMode) { in divide()
1074 … divideBigIntegers(BigInteger scaledDividend, BigInteger scaledDivisor, int scale, RoundingMode ro… in divideBigIntegers()
[all …]
DConversion.java137 static String toDecimalScaledString(BigInteger val, int scale) { in toDecimalScaledString()
297 static String toDecimalScaledString(long value, int scale) { in toDecimalScaledString()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetMetaDataTest.java279 int scale = 3; in testGetPrecision() local
346 int scale = 3; in testGetScale() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalConvertTest.java470 int scale = 12; in testValueOfNegScalePos() local
481 int scale = -12; in testValueOfNegScaleNeg() local
492 int scale = 12; in testValueOfPosScalePos() local
503 int scale = -12; in testValueOfPosScaleNeg() local
/libcore/luni/src/main/java/java/sql/
DCallableStatement.java117 public BigDecimal getBigDecimal(int parameterIndex, int scale) in getBigDecimal()
830 public void registerOutParameter(int parameterIndex, int sqlType, int scale) in registerOutParameter()
901 int scale) throws SQLException; in registerOutParameter()
1257 int targetSqlType, int scale) throws SQLException; in setObject()
DResultSet.java311 public BigDecimal getBigDecimal(int columnIndex, int scale) in getBigDecimal()
340 public BigDecimal getBigDecimal(String columnName, int scale) in getBigDecimal()
1768 public void updateObject(int columnIndex, Object x, int scale) in updateObject()
1797 public void updateObject(String columnName, Object x, int scale) in updateObject()
DPreparedStatement.java525 int targetSqlType, int scale) throws SQLException; in setObject()
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java938 int scale = bd.scale(); in toString() local
/libcore/luni/src/main/java/java/lang/
DRealToString.java274 long scale = MathUtils.LONG_POWERS_OF_TEN[-k]; in longDigitGenerator() local
/libcore/luni/src/main/java/javax/sql/
DRowSet.java1366 int targetSqlType, int scale) throws SQLException; in setObject()
1418 int targetSqlType, int scale) throws SQLException; in setObject()
/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java376 private int makeScalePositive(int scale, StringBuilder val) { in makeScalePositive()