ERational |
ERational.Abs() |
Returns the absolute value of this rational number, that is, a number with
the same value as this one but as a nonnegative number.
|
ERational |
ERational.Add(int v) |
Returns the sum of a rational number and a 32-bit signed integer.
|
ERational |
ERational.Add(ERational otherValue) |
Adds two rational numbers.
|
ERational |
ERational.Copy() |
Creates a copy of this arbitrary-precision rational number.
|
ERational |
ERational.CopySign(ERational other) |
Returns a number with the same value as this one, but copying the sign
(positive or negative) of another number.
|
static ERational |
ERational.Create(int numeratorSmall,
int denominatorSmall) |
Creates a rational number with the given numerator and denominator.
|
static ERational |
ERational.Create(long numeratorLong,
long denominatorLong) |
Creates a rational number with the given numerator and denominator.
|
static ERational |
ERational.Create(EInteger numerator,
EInteger denominator) |
Creates a rational number with the given numerator and denominator.
|
static ERational |
ERational.CreateNaN(EInteger diag) |
Creates a not-a-number arbitrary-precision rational number.
|
static ERational |
ERational.CreateNaN(EInteger diag,
boolean signaling,
boolean negative) |
Creates a not-a-number arbitrary-precision rational number.
|
ERational |
ERational.Decrement() |
Subtracts one from an arbitrary-precision rational number.
|
ERational |
ERational.Divide(int v) |
Divides this instance by the value of an arbitrary-precision rational number
object.
|
ERational |
ERational.Divide(ERational otherValue) |
Divides this instance by the value of an arbitrary-precision rational number
object.
|
static ERational |
ERational.FromBoolean(boolean boolValue) |
Converts a boolean value (true or false) to an arbitrary-precision rational
number.
|
static ERational |
ERational.FromByte(byte inputByte) |
Converts a byte (from 0 to 255) to an arbitrary-precision rational number.
|
static ERational |
ERational.FromDouble(double flt) |
Converts a 64-bit floating-point number to a rational number.
|
static ERational |
ERational.FromEDecimal(EDecimal ef) |
Converts an arbitrary-precision decimal number to a rational number.
|
static ERational |
ERational.FromEFloat(EFloat ef) |
Converts an arbitrary-precision binary floating-point number to a rational
number.
|
static ERational |
ERational.FromEInteger(EInteger bigint) |
Converts an arbitrary-precision integer to a rational number.
|
static ERational |
ERational.FromExtendedDecimal(EDecimal ef) |
Deprecated.
|
static ERational |
ERational.FromExtendedFloat(EFloat ef) |
Deprecated.
|
static ERational |
ERational.FromInt16(short inputInt16) |
Converts a 16-bit signed integer to an arbitrary-precision rational number.
|
static ERational |
ERational.FromInt32(int inputInt32) |
Converts a 32-bit signed integer to an arbitrary-precision rational number.
|
static ERational |
ERational.FromInt64(long inputInt64) |
Converts a 64-bit signed integer to an arbitrary-precision rational number.
|
static ERational |
ERational.FromSingle(float flt) |
Converts a 32-bit binary floating-point number to a rational number.
|
static ERational |
ERational.FromString(java.lang.String str) |
Creates a rational number from a text string that represents a number.
|
static ERational |
ERational.FromString(java.lang.String str,
int offset,
int length) |
Creates a rational number from a text string that represents a
number.
|
ERational |
ERational.Increment() |
Adds one to an arbitrary-precision rational number.
|
static ERational |
ERational.Max(ERational first,
ERational second) |
Gets the greater value between two rational numbers.
|
static ERational |
ERational.MaxMagnitude(ERational first,
ERational second) |
Gets the greater value between two values, ignoring their signs.
|
static ERational |
ERational.Min(ERational first,
ERational second) |
Gets the lesser value between two rational numbers.
|
static ERational |
ERational.MinMagnitude(ERational first,
ERational second) |
Gets the lesser value between two values, ignoring their signs.
|
ERational |
ERational.Multiply(int v) |
Returns the value of this instance multiplied by a 32-bit signed integer.
|
ERational |
ERational.Multiply(ERational otherValue) |
Multiplies this instance by the value of an arbitrary-precision rational
number.
|
ERational |
ERational.Negate() |
Returns a rational number with the same value as this one but with the sign
reversed.
|
ERational |
ERational.Remainder(int v) |
Finds the remainder that results when this instance is divided by the value
of an arbitrary-precision rational number.
|
ERational |
ERational.Remainder(ERational otherValue) |
Finds the remainder that results when this instance is divided by the value
of an arbitrary-precision rational number.
|
ERational |
ERational.Subtract(int v) |
Returns the result of subtracting a 32-bit signed integer from this
instance.
|
ERational |
ERational.Subtract(ERational otherValue) |
Subtracts an arbitrary-precision rational number from this instance.
|
ERational |
ERational.ToLowestTerms() |
Converts this value to its form in lowest terms.
|