March 2005
Intermediate to advanced
1254 pages
104h 21m
English
Package java.math
The
java.math package contains the
BigInteger class for arbitrary-precision integer
arithmetic, which is useful for cryptography. It also contains the
BigDecimal class for arbitrary precision decimal
floating-point arithmetic, which is useful for financial applications
that need to be careful about rounding errors. The
BigDecimal class is greatly enhanced in Java 5.0
and is accompanied by the new types MathContext
and RoundingMode.
public enum RoundingMode;public class BigDecimal extends Number implements Comparable<BigDecimal>; public class BigInteger extends Number implements Comparable<BigInteger>; public final class MathContext implements Serializable;