JavaScript is disabled on your browser.
Description
Field Summary
Constructor Summary
Method Summary
Field Details
ten_exp_9
Constructor Details
RatNum()
Method Details
numerator()
denominator()
classifyFinite()
make(IntNum, IntNum)
valueOf(BigDecimal)
asRatNumOrNull(Object)
isExact()
isZero()
rneg()
infinity(int)
compare(RatNum, RatNum)
equals(RatNum, RatNum)
equals(Object)
add(RatNum, RatNum, int)
neg(RatNum)
times(RatNum, RatNum)
divide(RatNum, RatNum)
power(IntNum)
toExact()
toInt(int)
toExactInt(int)
rationalize(RealNum, RealNum)
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
int
Check if value is finite, infinite, or NaN.
static int
static boolean
boolean
Return exact "rational" infinity.
boolean
boolean
Return this raised to an integer power.
Calcaulte the simplest rational between two reals.
Convert to an exact number.
Converts to an exact integer, with specified rounding mode.
Converts a real to an integer, according to a specified rounding mode.
Methods inherited from class RealNum
abs , add , add , angle , asBigDecimal , asRealNumOrNull , compareTo , conjugate , cos , div , divide , exp , im , isNegative , isReal , log , max , min , mul , re , sign , sin , sqrt , tan , times , toExactInt , toExactInt , toInexact , toInt , toScaledInt , toScaledInt , toScaledInt , toStringDecimal , toStringScientific , toStringScientific , toStringScientific , toStringScientific , unitQuaternion , unitVector , vectorPart
Methods inherited from class Complex
add , addReversed , colatitude , compare , compare , complexPart , divide , divReversed , equals , imMinusOne , imOne , jm , km , longitude , make , make , mulReversed , neg , neg , polar , polar , power , times , toString
Methods inherited from class Quaternion
add , compare , divide , doubleImagValue , doubleJmagValue , doubleKmagValue , doubleRealValue , doubleValue , equals , jmMinusOne , jmOne , kmMinusOne , kmOne , longValue , make , make , neg , number , polar , polar , power , times
Methods inherited from class Quantity
add , compare , compareReversed , dimensions , divide , imValue , jmValue , kmValue , make , make , make , reValue , times , unit