Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DIllegalFormatPrecisionExceptionTest.java35 .getPrecision()); in test_illegalFormatPrecisionException()
45 assertEquals(precision, illegalFormatPrecisionException.getPrecision()); in test_getPrecision()
70 assertEquals("Precision", initEx.getPrecision(), desrEx
71 .getPrecision());
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetMetaDataTest.java298 assertEquals(precicisionReal, rsmd2.getPrecision(4)); in testGetPrecision()
299 assertEquals(precisionNum,rsmd2.getPrecision(3)); in testGetPrecision()
300 assertTrue(rsmd2.getPrecision(2) > 0); in testGetPrecision()
301 assertTrue(rsmd2.getPrecision(1) > 0); in testGetPrecision()
305 rsmd.getPrecision(3); in testGetPrecision()
313 rsmd.getPrecision(0); in testGetPrecision()
319 rsmd.getPrecision(5); in testGetPrecision()
327 rsmd.getPrecision(1); in testGetPrecision()
/libcore/luni/src/test/java/libcore/java/math/
DMathContextTest.java27 assertEquals(1, mc.getPrecision()); in testConstructor()
34 assertEquals(p, mc.getPrecision()); in testConstructor()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DMathContextTest.java39 6, mcIntRm6hd.getPrecision() ); in test_MathContextConstruction()
41 134, mcInt134.getPrecision() ); in test_MathContextConstruction()
/libcore/luni/src/main/java/java/math/
DMathContext.java165 public int getPrecision() { in getPrecision() method in MathContext
201 && (((MathContext) x).getPrecision() == precision) && (((MathContext) x) in equals()
DBigDecimal.java793 || (mc.getPrecision() == 0)) { in add()
806 if (mc.getPrecision() >= larger.approxPrecision()) { in add()
896 || (mc.getPrecision() == 0)) { in subtract()
902 if (mc.getPrecision() < this.approxPrecision()) { in subtract()
1283 long trailingZeros = mc.getPrecision() + 2L in divide()
1293 if ((mc.getPrecision() == 0) || (this.isZero()) in divide()
1420 int mcPrecision = mc.getPrecision(); in divideToIntegralValue()
1646 int mcPrecision = mc.getPrecision(); in pow()
2665 int mcPrecision = mc.getPrecision(); in inplaceRound()
2786 if (Math.log10(Math.abs(integer)) >= mc.getPrecision()) { in smallRound()
[all …]
/libcore/ojluni/src/main/java/java/util/
DIllegalFormatPrecisionException.java56 public int getPrecision() { in getPrecision() method in IllegalFormatPrecisionException
/libcore/ojluni/src/main/java/java/sql/
DParameterMetaData.java112 int getPrecision(int param) throws SQLException; in getPrecision() method
DResultSetMetaData.java181 int getPrecision(int column) throws SQLException; in getPrecision() method