Constructor | Description |
---|---|
MyBigDecimal() |
Default constructor sets value to 0.0
|
MyBigDecimal(double value) |
Constructs using the given value.
|
MyBigDecimal(IBigValue v) |
Copy constructor.
|
MyBigDecimal(java.math.BigDecimal v) |
Modifier and Type | Method | Description |
---|---|---|
void |
DE(IBigValue x) |
Divide-equals (/=) operation.
|
void |
E(double value) |
Equals (=) operation.
|
void |
E(IBigValue x) |
Equals (=) operation.
|
IBigValue |
getZero() |
Returns an instance of the class representing the value zero.
|
boolean |
isPositive() |
Returns true if this instance has a value greater than zero.
|
boolean |
isZero() |
Returns true if this instance has a value of zero.
|
double |
lnValue() |
Returns logarithm of the value represented by the instance.
|
static void |
main(java.lang.String[] arg) |
|
void |
PE(IBigValue x) |
Plus-equals (+=) operation.
|
void |
PEa1Tv1(double a1,
IBigValue iv1) |
Plus-equals (+=) a1 times v1.
|
void |
TE(double a1) |
Times-equals (*=).
|
void |
TE(IBigValue x) |
Times-equals (*=) operation.
|
double |
value() |
Returns the value held by the instance (in true form, not as log, and with sign applied).
|
public MyBigDecimal()
public MyBigDecimal(double value)
public MyBigDecimal(IBigValue v)
public MyBigDecimal(java.math.BigDecimal v)
public IBigValue getZero()
IBigValue
public boolean isZero()
IBigValue
public double value()
public boolean isPositive()
IBigValue
isPositive
in interface IBigValue
public double lnValue()
public final void E(double value)
public final void E(IBigValue x)
public void PE(IBigValue x)
public void PEa1Tv1(double a1, IBigValue iv1)
public void TE(IBigValue x)
public void DE(IBigValue x)
public void TE(double a1)
public static void main(java.lang.String[] arg)