Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. From-SVN: r107049
This commit is contained in:
parent
02e549bfaa
commit
8f523f3a10
1241 changed files with 97711 additions and 25284 deletions
|
@ -43,12 +43,27 @@ public class BigDecimal extends Number implements Comparable
|
|||
private int scale;
|
||||
private static final long serialVersionUID = 6108874887143696463L;
|
||||
|
||||
private static final BigDecimal ZERO =
|
||||
/**
|
||||
* The constant zero as a BigDecimal with scale zero.
|
||||
* @since 1.5
|
||||
*/
|
||||
public static final BigDecimal ZERO =
|
||||
new BigDecimal (BigInteger.valueOf (0), 0);
|
||||
|
||||
private static final BigDecimal ONE =
|
||||
/**
|
||||
* The constant one as a BigDecimal with scale zero.
|
||||
* @since 1.5
|
||||
*/
|
||||
public static final BigDecimal ONE =
|
||||
new BigDecimal (BigInteger.valueOf (1), 0);
|
||||
|
||||
/**
|
||||
* The constant ten as a BigDecimal with scale zero.
|
||||
* @since 1.5
|
||||
*/
|
||||
public static final BigDecimal TEN =
|
||||
new BigDecimal (BigInteger.valueOf (10), 0);
|
||||
|
||||
public static final int ROUND_UP = 0;
|
||||
public static final int ROUND_DOWN = 1;
|
||||
public static final int ROUND_CEILING = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue