NaN, NEGATIVE_INFINITY, POSITIVE_INFINITY
Constructor | Description |
---|---|
PositiveInfinity() |
Modifier and Type | Method | Description |
---|---|---|
Num |
abs(Num num) |
|
Num |
add(Num num1,
Num num2) |
|
Num |
copy() |
|
Num |
create(double value) |
|
Num |
create(int num) |
|
Num |
create(int num,
int den) |
|
Num |
create(java.lang.String num_str) |
|
Num |
createEpsilon() |
|
Num |
createNaN() |
|
Num |
createNegativeInfinity() |
|
Num |
createPositiveInfinity() |
|
Num |
createZero() |
|
Num |
diff(Num num1,
Num num2) |
|
Num |
div(Num num1,
Num num2) |
|
double |
doubleValue() |
|
boolean |
eq(double num) |
|
boolean |
equals(java.lang.Object obj) |
|
boolean |
eqZero() |
|
boolean |
geq(Num num) |
|
boolean |
geqZero() |
|
Num |
getEpsilon() |
|
Num |
getNaN() |
|
Num |
getNegativeInfinity() |
|
Num |
getPositiveInfinity() |
|
Num |
getZero() |
|
boolean |
gt(Num num) |
|
boolean |
gtZero() |
|
int |
hashCode() |
|
boolean |
isFinite() |
|
boolean |
isFinite(Num num) |
|
boolean |
isInfinite() |
|
boolean |
isInfinite(Num num) |
|
boolean |
isNaN() |
|
boolean |
isNaN(Num num) |
|
boolean |
leq(Num num) |
|
boolean |
leqZero() |
|
boolean |
lt(Num num) |
|
boolean |
ltZero() |
|
Num |
max(Num num1,
Num num2) |
|
Num |
min(Num num1,
Num num2) |
|
Num |
mult(Num num1,
Num num2) |
|
Num |
negate(Num num) |
|
Num |
sub(Num num1,
Num num2) |
|
java.lang.String |
toString() |
public boolean isInfinite()
isInfinite
in interface Num
public double doubleValue()
doubleValue
in interface Num
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public Num getPositiveInfinity()
getPositiveInfinity
in interface Num
public Num createPositiveInfinity()
createPositiveInfinity
in interface Num
public Num getNegativeInfinity()
getNegativeInfinity
in interface Num
public Num createNegativeInfinity()
createNegativeInfinity
in interface Num
public Num createZero()
createZero
in interface Num
public Num getEpsilon()
getEpsilon
in interface Num
public Num createEpsilon()
createEpsilon
in interface Num
public Num create(java.lang.String num_str) throws java.lang.Exception
public boolean isInfinite(Num num)
isInfinite
in interface Num