This class implements mathematical operations declared in {@link cc.redberry.core.number.Number} as operations with in the followingway. If argument is {@link Numeric}, the result will be {@code Numeric} too.For example, 2 / 3 +1.0 will give 1.666666 and so on. If argument is {@code Rational}number, the result will be {@code Rational} too. @author Stanislav Poslavsky @see Number @see Numeric @see BigFraction
Rational
is-a {@link Number} for holding a rational number,i.e., a fraction, e.g., 1/3.
@author Paul J. Lucas [paul@lightcrafts.com]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|