|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MathContext | |
---|---|
com.ibm.icu.math | IBM BigDecimal support. |
Uses of MathContext in com.ibm.icu.math |
---|
Fields in com.ibm.icu.math declared as MathContext | |
---|---|
static MathContext |
MathContext.DEFAULT
A MathContext object initialized to the default
settings for general-purpose arithmetic. |
Methods in com.ibm.icu.math with parameters of type MathContext | |
---|---|
BigDecimal |
BigDecimal.abs(MathContext set)
Returns a BigDecimal whose value is the absolute value
of this BigDecimal . |
BigDecimal |
BigDecimal.add(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this+rhs . |
int |
BigDecimal.compareTo(BigDecimal rhs,
MathContext set)
Compares this BigDecimal to another. |
BigDecimal |
BigDecimal.divide(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this/rhs . |
BigDecimal |
BigDecimal.divideInteger(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is the integer
part of this/rhs . |
BigDecimal |
BigDecimal.max(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is
the maximum of this and rhs . |
BigDecimal |
BigDecimal.min(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is
the minimum of this and rhs . |
BigDecimal |
BigDecimal.multiply(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this*rhs . |
BigDecimal |
BigDecimal.negate(MathContext set)
Returns a BigDecimal whose value is -this . |
BigDecimal |
BigDecimal.plus(MathContext set)
Returns a BigDecimal whose value is
+this . |
BigDecimal |
BigDecimal.pow(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this**rhs . |
BigDecimal |
BigDecimal.remainder(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is the remainder of
this/rhs . |
BigDecimal |
BigDecimal.subtract(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this-rhs . |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |