Home
last modified time | relevance | path

Searched refs:getPrecision (Results 1 – 13 of 13) 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/ojluni/src/test/java/math/BigDecimal/
DZeroScalingTests.java99 if (mc.getPrecision() != 0) { in addTests()
102 else if (preferredScale > -(5 - mc.getPrecision())) { in addTests()
103 preferredScale = -(5 - mc.getPrecision()); in addTests()
173 if (mc.getPrecision() != 0) { in subtractTests()
176 else if (preferredScale > -(5 - mc.getPrecision())) { in subtractTests()
177 preferredScale = -(5 - mc.getPrecision()); in subtractTests()
DRoundingTests.java47 bd1, mc.getPrecision(), bd2)); in roundingTests()
DSquareRootTests.java533 int originalPrecision = mc.getPrecision();
/libcore/ojluni/src/main/java/java/util/
DIllegalFormatPrecisionException.java60 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
/libcore/ojluni/src/main/java/java/math/
DMathContext.java216 public int getPrecision() { in getPrecision() method in MathContext
DBigDecimal.java2230 int originalPrecision = mc.getPrecision(); in sqrt()
/libcore/api/
Dcurrent.txt5391 method public int getPrecision();
10146 method public int getPrecision(int) throws java.sql.SQLException;
10433 method public int getPrecision(int) throws java.sql.SQLException;
14080 method public int getPrecision();