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) |
Adds this arbitrary-precision rational number and a 32-bit signed integer
and returns the result.
|
ERational |
ERational.Add(long v) |
Adds this arbitrary-precision rational number and a 64-bit signed integer
and returns the result.
|
ERational |
ERational.Add(ERational otherValue) |
Adds this arbitrary-precision rational number and another
arbitrary-precision rational number and returns the result.
|
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 arbitrary-precision rational number by a 32-bit signed integer
and returns the result.
|
ERational |
ERational.Divide(long v) |
Divides this arbitrary-precision rational number by a 64-bit signed integer
and returns the result.
|
ERational |
ERational.Divide(ERational otherValue) |
Divides this arbitrary-precision rational number by another
arbitrary-precision rational number and returns the result.
|
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.FromDoubleBits(long value) |
Creates a binary rational number from a 64-bit floating-point number encoded
in the IEEE 754 binary64 format.
|
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.FromInt64AsUnsigned(long longerValue) |
Converts an unsigned integer expressed as 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.FromSingleBits(int value) |
Creates a binary rational number from a 32-bit floating-point number encoded
in the IEEE 754 binary32 format.
|
static ERational |
ERational.FromString(byte[] bytes) |
Creates a rational number from a sequence of bytes that represents a number.
|
static ERational |
ERational.FromString(byte[] bytes,
int offset,
int length) |
Creates a rational number from a sequence of bytes that represents a
number.
|
static ERational |
ERational.FromString(char[] chars) |
Creates a rational number from a sequence of char s that represents a
number.
|
static ERational |
ERational.FromString(char[] chars,
int offset,
int length) |
Creates a rational number from a sequence of char s that
represents a 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) |
Multiplies this arbitrary-precision rational number by a 32-bit signed
integer and returns the result.
|
ERational |
ERational.Multiply(long v) |
Multiplies this arbitrary-precision rational number by a 64-bit signed
integer and returns the result.
|
ERational |
ERational.Multiply(ERational otherValue) |
Multiplies this arbitrary-precision rational number by another
arbitrary-precision rational number and returns the result.
|
ERational |
ERational.Negate() |
Returns a rational number with the same value as this one but with the sign
reversed.
|
ERational |
ERational.Remainder(int v) |
Returns the remainder that would result when this arbitrary-precision
rational number is divided by a 32-bit signed integer.
|
ERational |
ERational.Remainder(long v) |
Returns the remainder that would result when this arbitrary-precision
rational number is divided by a 64-bit signed integer.
|
ERational |
ERational.Remainder(ERational otherValue) |
Returns the remainder that would result when this arbitrary-precision
rational number is divided by another arbitrary-precision rational
number.
|
ERational |
ERational.Subtract(int v) |
Subtracts a 32-bit signed integer from this arbitrary-precision rational
number and returns the result.
|
ERational |
ERational.Subtract(long v) |
Subtracts a 64-bit signed integer from this arbitrary-precision rational
number and returns the result.
|
ERational |
ERational.Subtract(ERational otherValue) |
Subtracts an arbitrary-precision rational number from this
arbitrary-precision rational number and returns the result.
|
ERational |
ERational.ToLowestTerms() |
Converts this value to its form in lowest terms.
|