java.math |
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger ) and arbitrary-precision decimal
arithmetic (
BigDecimal ). |
Java Source File Name | Type | Comment |
BigDecimal.java | Class | Immutable, arbitrary-precision signed decimal numbers. |
BigInteger.java | Class | Immutable arbitrary-precision integers. |
BitSieve.java | Class | A simple bit sieve used for finding prime number candidates. |
MathContext.java | Class | Immutable objects which encapsulate the context settings which
describe certain rules for numerical operators, such as those
implemented by the
BigDecimal class.
The base-independent settings are:
-
precision :
the number of digits to be used for an operation; results are
rounded to this precision
-
roundingMode :
a
RoundingMode object which specifies the algorithm to be
used for rounding.
See Also: BigDecimal See Also: RoundingMode author: Mike Cowlishaw author: Joseph D. |
MutableBigInteger.java | Class | A class used to represent multiprecision integers that makes efficient
use of allocated space by allowing a number to occupy only part of
an array so that the arrays do not have to be reallocated as often.
When performing an operation with many iterations the array used to
hold a number is only reallocated when necessary and does not have to
be the same size as the number it represents. |
package-info.java | | |
RoundingMode.java | enum | Specifies a rounding behavior for numerical operations
capable of discarding precision. |
SignedMutableBigInteger.java | Class | A class used to represent multiprecision integers that makes efficient
use of allocated space by allowing a number to occupy only part of
an array so that the arrays do not have to be reallocated as often.
When performing an operation with many iterations the array used to
hold a number is only increased when necessary and does not have to
be the same size as the number it represents. |