IBigValue
public class BigValue extends java.lang.Object implements IBigValue
Constructor | Description |
---|---|
BigValue() |
Default constructor sets value to 0.0
|
BigValue(double value) |
Constructs using the given value.
|
BigValue(double lnValue,
boolean isPos) |
Constructs given ln(|value|) and sign of value.
|
BigValue(IBigValue v) |
Copy constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DE(IBigValue ix) |
Divide-equals (/=) operation.
|
void |
E(double value) |
Equals (=) operation.
|
void |
E(IBigValue lv) |
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 ilnx) |
Plus-equals (+=) operation.
|
void |
PEa1Tv1(double a1,
IBigValue iv1) |
Plus-equals (+=) a1 times v1.
|
void |
TE(double a1) |
Times-equals (*=).
|
void |
TE(IBigValue ix) |
Times-equals (*=) operation.
|
void |
TEln(double lnx) |
Times-equals (*=) operation, multiplying by a value given as its logarithm.
|
double |
value() |
Returns the value held by the instance (in true form, not as log, and with sign applied).
|
public static final BigValue ZERO
public BigValue()
public BigValue(double value)
public BigValue(double lnValue, boolean isPos)
public BigValue(IBigValue 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 lv)
public void PE(IBigValue ilnx)
public void PEa1Tv1(double a1, IBigValue iv1)
public void TE(IBigValue ix)
public void DE(IBigValue ix)
public void TE(double a1)
public void TEln(double lnx)
public static void main(java.lang.String[] arg)