EDecimal |
EDecimal.Abs(EContext context) |
Finds the absolute value of this object (if it's negative, it becomes
positive).
|
EFloat |
EFloat.Abs(EContext context) |
Finds the absolute value of this object (if it's negative, it becomes
positive).
|
EDecimal |
EDecimal.Add(EDecimal otherValue,
EContext ctx) |
Finds the sum of this object and another object.
|
EFloat |
EFloat.Add(EFloat otherValue,
EContext ctx) |
Finds the sum of this object and another object.
|
static EDecimal |
EDecimals.And(EDecimal ed1,
EDecimal ed2,
EContext ec) |
Performs a logical AND operation on two decimal numbers in the form of
logical operands .
|
static EFloat |
EFloats.And(EFloat ed1,
EFloat ed2,
EContext ec) |
Performs a logical AND operation on two binary numbers in the form of
logical operands .
|
static EDecimal |
EDecimals.BooleanToEDecimal(boolean b,
EContext ec) |
Converts a boolean value (either true or false) to an arbitrary-precision
decimal number.
|
static EFloat |
EFloats.BooleanToEFloat(boolean b,
EContext ec) |
Converts a boolean value (either true or false) to an arbitrary-precision
binary floating-point number.
|
EDecimal |
EDecimal.CompareToSignal(EDecimal other,
EContext ctx) |
Compares the mathematical values of this object and another object, treating
quiet NaN as signaling.
|
EFloat |
EFloat.CompareToSignal(EFloat other,
EContext ctx) |
Compares the mathematical values of this object and another object, treating
quiet NaN as signaling.
|
static int |
EDecimals.CompareTotal(EDecimal ed,
EDecimal other,
EContext ec) |
Compares the values of one arbitrary-precision number object and another
object, imposing a total ordering on all possible values.
|
static int |
EFloats.CompareTotal(EFloat ed,
EFloat other,
EContext ec) |
Compares the values of one arbitrary-precision number object and another
object, imposing a total ordering on all possible values.
|
static int |
EDecimals.CompareTotalMagnitude(EDecimal ed,
EDecimal other,
EContext ec) |
Compares the absolute values of two arbitrary-precision number objects,
imposing a total ordering on all possible values (ignoring their
signs).
|
static int |
EFloats.CompareTotalMagnitude(EFloat ed,
EFloat other,
EContext ec) |
Compares the absolute values of two arbitrary-precision number objects,
imposing a total ordering on all possible values (ignoring their
signs).
|
int |
EDecimal.CompareToTotal(EDecimal other,
EContext ctx) |
Compares the values of this object and another object, imposing a total
ordering on all possible values.
|
int |
EFloat.CompareToTotal(EFloat other,
EContext ctx) |
Compares the values of this object and another object, imposing a total
ordering on all possible values.
|
int |
EDecimal.CompareToTotalMagnitude(EDecimal other,
EContext ctx) |
Compares the values of this object and another object, imposing a total
ordering on all possible values (ignoring their signs).
|
int |
EFloat.CompareToTotalMagnitude(EFloat other,
EContext ctx) |
Compares the values of this object and another object, imposing a total
ordering on all possible values (ignoring their signs).
|
EDecimal |
EDecimal.CompareToWithContext(EDecimal other,
EContext ctx) |
Compares the mathematical values of this object and another object.
|
EFloat |
EFloat.CompareToWithContext(EFloat other,
EContext ctx) |
Compares the mathematical values of this object and another object.
|
static EDecimal |
EDecimal.CreateNaN(EInteger diag,
boolean signaling,
boolean negative,
EContext ctx) |
Creates a not-a-number arbitrary-precision decimal number.
|
static EFloat |
EFloat.CreateNaN(EInteger diag,
boolean signaling,
boolean negative,
EContext ctx) |
Creates a not-a-number arbitrary-precision binary floating-point number.
|
EDecimal |
EDecimal.Divide(EDecimal divisor,
EContext ctx) |
Divides this arbitrary-precision decimal number by another
arbitrary-precision decimal number.
|
EFloat |
EFloat.Divide(EFloat divisor,
EContext ctx) |
Divides this arbitrary-precision binary float by another arbitrary-precision
binary floating-point number.
|
EDecimal[] |
EDecimal.DivideAndRemainderNaturalScale(EDecimal divisor,
EContext ctx) |
Deprecated.
|
EFloat[] |
EFloat.DivideAndRemainderNaturalScale(EFloat divisor,
EContext ctx) |
Deprecated.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
int desiredExponentInt,
EContext ctx) |
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent (expressed as a 32-bit signed integer) to the result, using
the half-even rounding mode.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
long desiredExponentSmall,
EContext ctx) |
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
EInteger exponent,
EContext ctx) |
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result.
|
EFloat |
EFloat.DivideToExponent(EFloat divisor,
long desiredExponentSmall,
EContext ctx) |
Divides two arbitrary-precision binary floating-point numbers, and gives a
particular exponent to the result.
|
EFloat |
EFloat.DivideToExponent(EFloat divisor,
EInteger exponent,
EContext ctx) |
Divides two arbitrary-precision binary floating-point numbers, and gives a
particular exponent to the result.
|
EDecimal |
EDecimal.DivideToIntegerNaturalScale(EDecimal divisor,
EContext ctx) |
Divides this object by another object, and returns the integer part of the
result (which is initially rounded down), with the preferred exponent
set to this value's exponent minus the divisor's exponent.
|
EFloat |
EFloat.DivideToIntegerNaturalScale(EFloat divisor,
EContext ctx) |
Divides this object by another object, and returns the integer part of the
result (which is initially rounded down), with the preferred exponent
set to this value's exponent minus the divisor's exponent.
|
EDecimal |
EDecimal.DivideToIntegerZeroScale(EDecimal divisor,
EContext ctx) |
Divides this object by another object, and returns the integer part of the
result, with the exponent set to 0.
|
EFloat |
EFloat.DivideToIntegerZeroScale(EFloat divisor,
EContext ctx) |
Divides this object by another object, and returns the integer part of the
result, with the exponent set to 0.
|
EDecimal[] |
EDecimal.DivRemNaturalScale(EDecimal divisor,
EContext ctx) |
Calculates the quotient and remainder using the DivideToIntegerNaturalScale
and the formula in RemainderNaturalScale.
|
EFloat[] |
EFloat.DivRemNaturalScale(EFloat divisor,
EContext ctx) |
Calculates the quotient and remainder using the DivideToIntegerNaturalScale
and the formula in RemainderNaturalScale.
|
EDecimal |
EDecimal.Exp(EContext ctx) |
Finds e (the base of natural logarithms) raised to the power of this
object's value.
|
EFloat |
EFloat.Exp(EContext ctx) |
Finds e (the base of natural logarithms) raised to the power of this
object's value.
|
static EDecimal |
EDecimal.FromString(java.lang.String str,
int offset,
int length,
EContext ctx) |
Creates an arbitrary-precision decimal number from a text string that
represents a number.
|
static EDecimal |
EDecimal.FromString(java.lang.String str,
EContext ctx) |
Creates an arbitrary-precision decimal number from a text string that
represents a number.
|
static EFloat |
EFloat.FromString(java.lang.String str,
int offset,
int length,
EContext ctx) |
Creates a binary float from a text string that represents a number.
|
static EFloat |
EFloat.FromString(java.lang.String str,
EContext ctx) |
Creates a binary float from a text string that represents a number.
|
static EDecimal |
EDecimals.Int32ToEDecimal(int i32,
EContext ec) |
Creates an arbitrary-precision decimal number from a 32-bit signed integer.
|
static EFloat |
EFloats.Int32ToEFloat(int i32,
EContext ec) |
Creates a binary floating-point number from a 32-bit signed integer.
|
static EDecimal |
EDecimals.Invert(EDecimal ed1,
EContext ec) |
Performs a logical NOT operation on an arbitrary-precision decimal number in
the form of a logical operand .
|
static EFloat |
EFloats.Invert(EFloat ed1,
EContext ec) |
Performs a logical NOT operation on a binary number in the form of a
logical operand .
|
static boolean |
EDecimals.IsNormal(EDecimal ed,
EContext ec) |
Returns whether the given number is a normal number.
|
static boolean |
EFloats.IsNormal(EFloat ed,
EContext ec) |
Returns whether the given number is a normal number.
|
static boolean |
EDecimals.IsSubnormal(EDecimal ed,
EContext ec) |
Returns whether the given number is a subnormal number.
|
static boolean |
EFloats.IsSubnormal(EFloat ed,
EContext ec) |
Returns whether the given number is a subnormal number.
|
EDecimal |
EDecimal.Log(EContext ctx) |
Finds the natural logarithm of this object, that is, the power (exponent)
that e (the base of natural logarithms) must be raised to in order to
equal this object's value.
|
EFloat |
EFloat.Log(EContext ctx) |
Finds the natural logarithm of this object, that is, the power (exponent)
that e (the base of natural logarithms) must be raised to in order to
equal this object's value.
|
EDecimal |
EDecimal.Log10(EContext ctx) |
Finds the base-10 logarithm of this object, that is, the power (exponent)
that the number 10 must be raised to in order to equal this object's
value.
|
EFloat |
EFloat.Log10(EContext ctx) |
Finds the base-10 logarithm of this object, that is, the power (exponent)
that the number 10 must be raised to in order to equal this object's
value.
|
static EDecimal |
EDecimals.LogB(EDecimal ed,
EContext ec) |
Returns the base-10 exponent of an arbitrary-precision decimal number (when
that number is expressed in scientific notation with one digit before
the radix point).
|
static EFloat |
EFloats.LogB(EFloat ed,
EContext ec) |
Returns the base-2 exponent of an arbitrary-precision binary number (when
that number is expressed in scientific notation with one nonzero
digit before the radix point).
|
static EDecimal |
EDecimal.Max(EDecimal first,
EDecimal second,
EContext ctx) |
Gets the greater value between two decimal numbers.
|
static EFloat |
EFloat.Max(EFloat first,
EFloat second,
EContext ctx) |
Gets the greater value between two binary floating-point numbers.
|
static EDecimal |
EDecimal.MaxMagnitude(EDecimal first,
EDecimal second,
EContext ctx) |
Gets the greater value between two values, ignoring their signs.
|
static EFloat |
EFloat.MaxMagnitude(EFloat first,
EFloat second,
EContext ctx) |
Gets the greater value between two values, ignoring their signs.
|
static EDecimal |
EDecimal.Min(EDecimal first,
EDecimal second,
EContext ctx) |
Gets the lesser value between two decimal numbers.
|
static EFloat |
EFloat.Min(EFloat first,
EFloat second,
EContext ctx) |
Gets the lesser value between two binary floating-point numbers.
|
static EDecimal |
EDecimal.MinMagnitude(EDecimal first,
EDecimal second,
EContext ctx) |
Gets the lesser value between two values, ignoring their signs.
|
static EFloat |
EFloat.MinMagnitude(EFloat first,
EFloat second,
EContext ctx) |
Gets the lesser value between two values, ignoring their signs.
|
EDecimal |
EDecimal.MovePointLeft(int places,
EContext ctx) |
Returns a number similar to this number but with the decimal point moved to
the left.
|
EDecimal |
EDecimal.MovePointLeft(EInteger bigPlaces,
EContext ctx) |
Returns a number similar to this number but with the decimal point moved to
the left.
|
EFloat |
EFloat.MovePointLeft(int places,
EContext ctx) |
Returns a number similar to this number but with the radix point moved to
the left.
|
EFloat |
EFloat.MovePointLeft(EInteger bigPlaces,
EContext ctx) |
Returns a number similar to this number but with the radix point moved to
the left.
|
EDecimal |
EDecimal.MovePointRight(int places,
EContext ctx) |
Returns a number similar to this number but with the decimal point moved to
the right.
|
EDecimal |
EDecimal.MovePointRight(EInteger bigPlaces,
EContext ctx) |
Returns a number similar to this number but with the decimal point moved to
the right.
|
EFloat |
EFloat.MovePointRight(int places,
EContext ctx) |
Returns a number similar to this number but with the radix point moved to
the right.
|
EFloat |
EFloat.MovePointRight(EInteger bigPlaces,
EContext ctx) |
Returns a number similar to this number but with the radix point moved to
the right.
|
EDecimal |
EDecimal.Multiply(EDecimal op,
EContext ctx) |
Multiplies two decimal numbers.
|
EFloat |
EFloat.Multiply(EFloat op,
EContext ctx) |
Multiplies two binary floating-point numbers.
|
EDecimal |
EDecimal.MultiplyAndAdd(EDecimal op,
EDecimal augend,
EContext ctx) |
Multiplies by one value, and then adds another value.
|
EFloat |
EFloat.MultiplyAndAdd(EFloat op,
EFloat augend,
EContext ctx) |
Multiplies by one value, and then adds another value.
|
EDecimal |
EDecimal.MultiplyAndSubtract(EDecimal op,
EDecimal subtrahend,
EContext ctx) |
Multiplies by one value, and then subtracts another value.
|
EFloat |
EFloat.MultiplyAndSubtract(EFloat op,
EFloat subtrahend,
EContext ctx) |
Multiplies by one value, and then subtracts another value.
|
EDecimal |
EDecimal.Negate(EContext context) |
Returns an arbitrary-precision decimal number with the same value as this
object but with the sign reversed.
|
EFloat |
EFloat.Negate(EContext context) |
Returns a binary float with the same value as this object but with the sign
reversed.
|
EDecimal |
EDecimal.NextMinus(EContext ctx) |
Finds the largest value that's smaller than the given value.
|
EFloat |
EFloat.NextMinus(EContext ctx) |
Finds the largest value that's smaller than the given value.
|
EDecimal |
EDecimal.NextPlus(EContext ctx) |
Finds the smallest value that's greater than the given value.
|
EFloat |
EFloat.NextPlus(EContext ctx) |
Finds the smallest value that's greater than the given value.
|
EDecimal |
EDecimal.NextToward(EDecimal otherValue,
EContext ctx) |
Finds the next value that is closer to the other object's value than this
object's value.
|
EFloat |
EFloat.NextToward(EFloat otherValue,
EContext ctx) |
Finds the next value that is closer to the other object's value than this
object's value.
|
static int |
EDecimals.NumberClass(EDecimal ed,
EContext ec) |
Finds the number class for an arbitrary-precision decimal number object.
|
static int |
EFloats.NumberClass(EFloat ed,
EContext ec) |
Finds the number class for an arbitrary-precision decimal number object.
|
static EDecimal |
EDecimals.Or(EDecimal ed1,
EDecimal ed2,
EContext ec) |
Performs a logical OR operation on two decimal numbers in the form of
logical operands .
|
static EFloat |
EFloats.Or(EFloat ed1,
EFloat ed2,
EContext ec) |
Performs a logical OR operation on two binary numbers in the form of
logical operands .
|
static EDecimal |
EDecimal.PI(EContext ctx) |
Finds the constant π, the circumference of a circle divided by its diameter.
|
static EFloat |
EFloat.PI(EContext ctx) |
Finds the constant π, the circumference of a circle divided by its diameter.
|
EDecimal |
EDecimal.Plus(EContext ctx) |
Rounds this object's value to a given precision, using the given rounding
mode and range of exponent, and also converts negative zero to
positive zero.
|
EFloat |
EFloat.Plus(EContext ctx) |
Rounds this object's value to a given precision, using the given rounding
mode and range of exponent, and also converts negative zero to
positive zero.
|
EDecimal |
EDecimal.Pow(int exponentSmall,
EContext ctx) |
Raises this object's value to the given exponent.
|
EDecimal |
EDecimal.Pow(EDecimal exponent,
EContext ctx) |
Raises this object's value to the given exponent.
|
EFloat |
EFloat.Pow(int exponentSmall,
EContext ctx) |
Raises this object's value to the given exponent.
|
EFloat |
EFloat.Pow(EFloat exponent,
EContext ctx) |
Raises this object's value to the given exponent.
|
EDecimal |
EDecimal.Quantize(int desiredExponentInt,
EContext ctx) |
Returns an arbitrary-precision decimal number with the same value but a new
exponent.
|
EDecimal |
EDecimal.Quantize(EDecimal otherValue,
EContext ctx) |
Returns an arbitrary-precision decimal number with the same value as this
object but with the same exponent as another decimal number.
|
EDecimal |
EDecimal.Quantize(EInteger desiredExponent,
EContext ctx) |
Returns an arbitrary-precision decimal number with the same value but a new
exponent.
|
EFloat |
EFloat.Quantize(int desiredExponentInt,
EContext ctx) |
Returns a binary float with the same value but a new exponent.
|
EFloat |
EFloat.Quantize(EFloat otherValue,
EContext ctx) |
Returns a binary float with the same value as this object but with the same
exponent as another binary float.
|
EFloat |
EFloat.Quantize(EInteger desiredExponent,
EContext ctx) |
Returns a binary float with the same value but a new exponent.
|
static EDecimal |
EDecimals.Radix(EContext ec) |
Returns the number 10, the decimal radix.
|
static EFloat |
EFloats.Radix(EContext ec) |
Returns the number 2, the binary radix.
|
EDecimal |
EDecimal.Reduce(EContext ctx) |
Returns an object with the same numerical value as this one but with
trailing zeros removed from its mantissa (significand).
|
EFloat |
EFloat.Reduce(EContext ctx) |
Returns an object with the same numerical value as this one but with
trailing zeros removed from its mantissa (significand).
|
EDecimal |
EDecimal.Remainder(EDecimal divisor,
EContext ctx) |
Finds the remainder that results when dividing two arbitrary-precision
decimal numbers.
|
EFloat |
EFloat.Remainder(EFloat divisor,
EContext ctx) |
Finds the remainder that results when dividing two arbitrary-precision
binary floating-point numbers.
|
EDecimal |
EDecimal.RemainderNaturalScale(EDecimal divisor,
EContext ctx) |
Calculates the remainder of a number by the formula "this" - (("this" /
"divisor") * "divisor").
|
EFloat |
EFloat.RemainderNaturalScale(EFloat divisor,
EContext ctx) |
Calculates the remainder of a number by the formula "this" - (("this" /
"divisor") * "divisor").
|
EDecimal |
EDecimal.RemainderNear(EDecimal divisor,
EContext ctx) |
Finds the distance to the closest multiple of the given divisor, based on
the result of dividing this object's value by another object's value.
|
EFloat |
EFloat.RemainderNear(EFloat divisor,
EContext ctx) |
Finds the distance to the closest multiple of the given divisor, based on
the result of dividing this object's value by another object's value.
|
EDecimal |
EDecimal.RemainderNoRoundAfterDivide(EDecimal divisor,
EContext ctx) |
Finds the remainder that results when dividing two arbitrary-precision
decimal numbers, except the intermediate division is not adjusted to
fit the precision of the given arithmetic context.
|
EFloat |
EFloat.RemainderNoRoundAfterDivide(EFloat divisor,
EContext ctx) |
Finds the remainder that results when dividing two arbitrary-precision
binary floating-point numbers.
|
static EDecimal |
EDecimals.Rescale(EDecimal ed,
EDecimal scale,
EContext ec) |
Returns an arbitrary-precision decimal number with the same value as this
object but with the given exponent, expressed as an
arbitrary-precision decimal number.
|
static EFloat |
EFloats.Rescale(EFloat ed,
EFloat scale,
EContext ec) |
Returns an arbitrary-precision binary number with the same value as this
object but with the given exponent, expressed as an
arbitrary-precision binary number.
|
static EDecimal |
EDecimals.Rotate(EDecimal ed,
EDecimal ed2,
EContext ec) |
Rotates the digits of an arbitrary-precision decimal number's mantissa.
|
static EFloat |
EFloats.Rotate(EFloat ed,
EFloat ed2,
EContext ec) |
Rotates the bits of an arbitrary-precision binary number's mantissa.
|
EDecimal |
EDecimal.RoundToExponent(int exponentSmall,
EContext ctx) |
Returns an arbitrary-precision decimal number with the same value as this
object but rounded to a new exponent if necessary.
|
EDecimal |
EDecimal.RoundToExponent(EInteger exponent,
EContext ctx) |
Returns an arbitrary-precision decimal number with the same value as this
object but rounded to a new exponent if necessary.
|
EFloat |
EFloat.RoundToExponent(int exponentSmall,
EContext ctx) |
Returns a binary float with the same value as this object but rounded to a
new exponent if necessary.
|
EFloat |
EFloat.RoundToExponent(EInteger exponent,
EContext ctx) |
Returns a binary float with the same value as this object but rounded to a
new exponent if necessary.
|
EDecimal |
EDecimal.RoundToExponentExact(int exponentSmall,
EContext ctx) |
Returns an arbitrary-precision decimal number with the same value as this
object but rounded to the given exponent represented as a 32-bit
signed integer, and signals an inexact flag if the result would be
inexact.
|
EDecimal |
EDecimal.RoundToExponentExact(EInteger exponent,
EContext ctx) |
Returns an arbitrary-precision decimal number with the same value as this
object but rounded to the given exponent represented as an
arbitrary-precision integer, and signals an inexact flag if the
result would be inexact.
|
EFloat |
EFloat.RoundToExponentExact(int exponentSmall,
EContext ctx) |
Returns a binary float with the same value as this object but rounded to the
given exponent represented as a 32-bit signed integer, and signals an
inexact flag if the result would be inexact.
|
EFloat |
EFloat.RoundToExponentExact(EInteger exponent,
EContext ctx) |
Returns a binary float with the same value as this object but rounded to the
given exponent, and signals an inexact flag if the result would be
inexact.
|
EDecimal |
EDecimal.RoundToIntegerExact(EContext ctx) |
Returns an arbitrary-precision decimal number with the same value as this
object but rounded to an integer, and signals an inexact flag if the
result would be inexact.
|
EFloat |
EFloat.RoundToIntegerExact(EContext ctx) |
Returns a binary float with the same value as this object but rounded to an
integer, and signals an inexact flag if the result would be inexact.
|
EDecimal |
EDecimal.RoundToIntegerNoRoundedFlag(EContext ctx) |
Returns an arbitrary-precision decimal number with the same value as this
object but rounded to an integer, without adding the
FlagInexact or FlagRounded flags.
|
EFloat |
EFloat.RoundToIntegerNoRoundedFlag(EContext ctx) |
Returns a binary float with the same value as this object but rounded to an
integer, without adding the FlagInexact or FlagRounded
flags.
|
EDecimal |
EDecimal.RoundToIntegralExact(EContext ctx) |
Deprecated.
|
EFloat |
EFloat.RoundToIntegralExact(EContext ctx) |
Deprecated.
|
EDecimal |
EDecimal.RoundToIntegralNoRoundedFlag(EContext ctx) |
Deprecated.
|
EFloat |
EFloat.RoundToIntegralNoRoundedFlag(EContext ctx) |
Deprecated.
|
EDecimal |
EDecimal.RoundToPrecision(EContext ctx) |
Rounds this object's value to a given precision, using the given rounding
mode and range of exponent.
|
EFloat |
EFloat.RoundToPrecision(EContext ctx) |
Rounds this object's value to a given precision, using the given rounding
mode and range of exponent.
|
static EDecimal |
EDecimals.ScaleB(EDecimal ed,
EDecimal ed2,
EContext ec) |
Finds an arbitrary-precision decimal number whose decimal point is moved a
given number of places.
|
static EFloat |
EFloats.ScaleB(EFloat ed,
EFloat ed2,
EContext ec) |
Finds an arbitrary-precision binary number whose binary point is moved a
given number of places.
|
EDecimal |
EDecimal.ScaleByPowerOfTen(int places,
EContext ctx) |
Returns a number similar to this number but with the scale adjusted.
|
EDecimal |
EDecimal.ScaleByPowerOfTen(EInteger bigPlaces,
EContext ctx) |
Returns a number similar to this number but with its scale adjusted.
|
EFloat |
EFloat.ScaleByPowerOfTwo(int places,
EContext ctx) |
Returns a number similar to this number but with the scale adjusted.
|
EFloat |
EFloat.ScaleByPowerOfTwo(EInteger bigPlaces,
EContext ctx) |
Returns a number similar to this number but with its scale adjusted.
|
static EDecimal |
EDecimals.Shift(EDecimal ed,
EDecimal ed2,
EContext ec) |
Shifts the digits of an arbitrary-precision decimal number's mantissa.
|
static EFloat |
EFloats.Shift(EFloat ed,
EFloat ed2,
EContext ec) |
Shifts the bits of an arbitrary-precision binary floating point number's
mantissa.
|
EDecimal |
EDecimal.Sqrt(EContext ctx) |
Finds the square root of this object's value.
|
EFloat |
EFloat.Sqrt(EContext ctx) |
Finds the square root of this object's value.
|
EDecimal |
EDecimal.SquareRoot(EContext ctx) |
Deprecated.
|
EFloat |
EFloat.SquareRoot(EContext ctx) |
Deprecated.
|
EDecimal |
EDecimal.Subtract(EDecimal otherValue,
EContext ctx) |
Subtracts an arbitrary-precision decimal number from this instance.
|
EFloat |
EFloat.Subtract(EFloat otherValue,
EContext ctx) |
Subtracts an arbitrary-precision binary float from this instance.
|
EDecimal |
ERational.ToEDecimal(EContext ctx) |
Converts this rational number to an arbitrary-precision decimal number and
rounds the result to the given precision.
|
EDecimal |
ERational.ToEDecimalExactIfPossible(EContext ctx) |
Converts this rational number to an arbitrary-precision decimal number, but
if the result would have a nonterminating decimal expansion, rounds
that result to the given precision.
|
EFloat |
EDecimal.ToEFloat(EContext ec) |
Creates a binary floating-point number from this object's value.
|
EFloat |
ERational.ToEFloat(EContext ctx) |
Converts this rational number to a binary float and rounds that result to
the given precision.
|
EFloat |
ERational.ToEFloatExactIfPossible(EContext ctx) |
Converts this rational number to a binary float, but if the result would
have a nonterminating binary expansion, rounds that result to the
given precision.
|
EDecimal |
ERational.ToExtendedDecimal(EContext ctx) |
Deprecated.
|
EDecimal |
ERational.ToExtendedDecimalExactIfPossible(EContext ctx) |
Deprecated.
|
EFloat |
ERational.ToExtendedFloat(EContext ctx) |
Deprecated.
|
EFloat |
ERational.ToExtendedFloatExactIfPossible(EContext ctx) |
Deprecated.
|
java.lang.String |
EFloat.ToShortestString(EContext ctx) |
Returns a string representation of this number's value after rounding to the
given precision (using the given arithmetic context).
|
static EDecimal |
EDecimals.Trim(EDecimal ed1,
EContext ec) |
Returns an arbitrary-precision number with the same value as this one but
with certain trailing zeros removed from its mantissa.
|
static EFloat |
EFloats.Trim(EFloat ed1,
EContext ec) |
Returns an arbitrary-precision number with the same value as this one but
with certain trailing zeros removed from its mantissa.
|
static EDecimal |
EDecimals.Xor(EDecimal ed1,
EDecimal ed2,
EContext ec) |
Performs a logical exclusive-OR (XOR) operation on two decimal numbers in
the form of logical operands .
|
static EFloat |
EFloats.Xor(EFloat ed1,
EFloat ed2,
EContext ec) |
Performs a logical exclusive-OR (XOR) operation on two binary numbers in the
form of logical operands .
|