| |
|
| java.lang.Object java.lang.Number gnu.math.Numeric
All known Subclasses: gnu.math.Quantity,
Field Summary | |
final public static int | CEILING | final public static int | FLOOR | final public static int | ROUND | final public static int | TRUNCATE |
CEILING | final public static int CEILING(Code) | | |
FLOOR | final public static int FLOOR(Code) | | |
ROUND | final public static int ROUND(Code) | | |
TRUNCATE | final public static int TRUNCATE(Code) | | |
compare | public int compare(Object obj)(Code) | | Return an integer for which of {# code this} or {#code obj} is larger.
Return 1 if
this>obj ; 0 if
this==obj ;
-1 if
this |
div_inv | public Numeric div_inv()(Code) | | Return the multiplicative inverse.
|
floatValue | public float floatValue()(Code) | | |
intValue | public int intValue()(Code) | | |
isExact | abstract public boolean isExact()(Code) | | |
isZero | abstract public boolean isZero()(Code) | | |
longValue | public long longValue()(Code) | | |
mul_ident | public Numeric mul_ident()(Code) | | Return the multiplicative identity.
|
power | public Numeric power(IntNum y)(Code) | | Return this raised to an integer power.
Implemented by repeated squaring and multiplication.
If y < 0, returns div_inv of the result.
|
|
|
|