| Modifier and Type | Field and Description |
|---|---|
static EDecimal |
EDecimal.NaN
A not-a-number value.
|
static EDecimal |
EDecimal.NegativeInfinity
Negative infinity, less than any other number.
|
static EDecimal |
EDecimal.NegativeZero
Represents the number negative zero.
|
static EDecimal |
EDecimal.One
Represents the number 1.
|
static EDecimal |
EDecimal.PositiveInfinity
Positive infinity, greater than any other number.
|
static EDecimal |
EDecimal.SignalingNaN
A not-a-number value that signals an invalid operation flag when it's
passed as an argument to any arithmetic operation in
arbitrary-precision decimal.
|
static EDecimal |
EDecimal.Ten
Represents the number 10.
|
static EDecimal |
EDecimal.Zero
Represents the number 0.
|
| Modifier and Type | Method and Description |
|---|---|
EDecimal |
EDecimal.Abs()
Finds the absolute value of this object (if it's negative, it becomes
positive).
|
EDecimal |
EDecimal.Abs(EContext context)
Finds the absolute value of this object (if it's negative, it becomes
positive).
|
EDecimal |
EDecimal.Add(EDecimal otherValue)
Adds this object and another decimal number and returns the result.
|
EDecimal |
EDecimal.Add(EDecimal otherValue,
EContext ctx)
Finds the sum of this object and another object.
|
EDecimal |
EDecimal.CompareToSignal(EDecimal other,
EContext ctx)
Compares the mathematical values of this object and another object, treating
quiet NaN as signaling.
|
EDecimal |
EDecimal.CompareToWithContext(EDecimal other,
EContext ctx)
Compares the mathematical values of this object and another object.
|
EDecimal |
EDecimal.CopySign(EDecimal other)
Returns a number with the same value as this one, but copying the sign
(positive or negative) of another number.
|
static EDecimal |
EDecimal.Create(EInteger mantissa,
EInteger exponent)
Creates a number with the value
exponent*10^mantissa |
static EDecimal |
EDecimal.Create(int mantissaSmall,
int exponentSmall)
Creates a number with the value
exponent*10^mantissa |
static EDecimal |
EDecimal.CreateNaN(EInteger diag)
Creates a not-a-number arbitrary-precision decimal number.
|
static EDecimal |
EDecimal.CreateNaN(EInteger diag,
boolean signaling,
boolean negative,
EContext ctx)
Creates a not-a-number arbitrary-precision decimal number.
|
EDecimal |
EDecimal.Divide(EDecimal divisor)
Divides this object by another decimal number and returns the result.
|
EDecimal |
EDecimal.Divide(EDecimal divisor,
EContext ctx)
Divides this arbitrary-precision decimal number by another
arbitrary-precision decimal number.
|
EDecimal[] |
EDecimal.DivideAndRemainderNaturalScale(EDecimal divisor)
Deprecated.
Renamed to DivRemNaturalScale.
|
EDecimal[] |
EDecimal.DivideAndRemainderNaturalScale(EDecimal divisor,
EContext ctx)
Deprecated.
Renamed to DivRemNaturalScale.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
EInteger exponent)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result, using the half-even rounding mode.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
EInteger exponent,
EContext ctx)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
EInteger desiredExponent,
ERounding rounding)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
int desiredExponentInt)
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,
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,
int desiredExponentInt,
ERounding rounding)
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)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent (expressed as a 64-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,
long desiredExponentSmall,
ERounding rounding)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result.
|
EDecimal |
EDecimal.DivideToIntegerNaturalScale(EDecimal divisor)
Divides two arbitrary-precision decimal numbers, and returns the integer
part of the result, rounded down, with the preferred exponent set to
this value's exponent minus the divisor's exponent.
|
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.
|
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.
|
EDecimal |
EDecimal.DivideToSameExponent(EDecimal divisor,
ERounding rounding)
Divides this object by another decimal number and returns a result with the
same exponent as this object (the dividend).
|
EDecimal[] |
EDecimal.DivRemNaturalScale(EDecimal divisor)
Calculates the quotient and remainder using the DivideToIntegerNaturalScale
and the formula in RemainderNaturalScale.
|
EDecimal[] |
EDecimal.DivRemNaturalScale(EDecimal 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.
|
static EDecimal |
EDecimal.FromByte(byte inputByte)
Converts a byte (from 0 to 255) to an arbitrary-precision decimal number.
|
static EDecimal |
EDecimal.FromDouble(double dbl)
Creates a decimal number from a 64-bit binary floating-point number.
|
static EDecimal |
EDecimal.FromEFloat(EFloat bigfloat)
Creates a decimal number from an arbitrary-precision binary floating-point
number.
|
static EDecimal |
EDecimal.FromEInteger(EInteger bigint)
Converts an arbitrary-precision integer to an arbitrary precision decimal.
|
static EDecimal |
EDecimal.FromExtendedFloat(EFloat ef)
Deprecated.
Renamed to FromEFloat.
|
static EDecimal |
EDecimal.FromInt16(short inputInt16)
Converts a 16-bit signed integer to an arbitrary-precision decimal number.
|
static EDecimal |
EDecimal.FromInt32(int valueSmaller)
Creates a decimal number from a 32-bit signed integer.
|
static EDecimal |
EDecimal.FromInt64(long valueSmall)
Creates a decimal number from a 64-bit signed integer.
|
static EDecimal |
EDecimal.FromSingle(float flt)
Creates a decimal number from a 32-bit binary floating-point number.
|
static EDecimal |
EDecimal.FromString(String str)
Creates a decimal number from a text string that represents a number.
|
static EDecimal |
EDecimal.FromString(String str,
EContext ctx)
Creates a decimal number from a text string that represents a number.
|
static EDecimal |
EDecimal.FromString(String str,
int offset,
int length)
Creates a decimal number from a text string that represents a number.
|
static EDecimal |
EDecimal.FromString(String str,
int offset,
int length,
EContext ctx)
Creates a decimal number from a text string that represents a 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.
|
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.
|
static EDecimal |
EDecimal.Max(EDecimal first,
EDecimal second)
Gets the greater value between two decimal numbers.
|
static EDecimal |
EDecimal.Max(EDecimal first,
EDecimal second,
EContext ctx)
Gets the greater value between two decimal numbers.
|
static EDecimal |
EDecimal.MaxMagnitude(EDecimal first,
EDecimal second)
Gets the greater value between two values, ignoring their signs.
|
static EDecimal |
EDecimal.MaxMagnitude(EDecimal first,
EDecimal second,
EContext ctx)
Gets the greater value between two values, ignoring their signs.
|
static EDecimal |
EDecimal.Min(EDecimal first,
EDecimal second)
Gets the lesser value between two decimal numbers.
|
static EDecimal |
EDecimal.Min(EDecimal first,
EDecimal second,
EContext ctx)
Gets the lesser value between two decimal numbers.
|
static EDecimal |
EDecimal.MinMagnitude(EDecimal first,
EDecimal second)
Gets the lesser value between two values, ignoring their signs.
|
static EDecimal |
EDecimal.MinMagnitude(EDecimal first,
EDecimal second,
EContext ctx)
Gets the lesser value between two values, ignoring their signs.
|
EDecimal |
EDecimal.MovePointLeft(EInteger bigPlaces)
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.
|
EDecimal |
EDecimal.MovePointLeft(int places)
Returns a number similar to this number but with the decimal point moved to
the left.
|
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.MovePointRight(EInteger bigPlaces)
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.
|
EDecimal |
EDecimal.MovePointRight(int places)
Returns a number similar to this number but with the decimal point moved to
the right.
|
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.Multiply(EDecimal otherValue)
Multiplies two decimal numbers.
|
EDecimal |
EDecimal.Multiply(EDecimal op,
EContext ctx)
Multiplies two decimal numbers.
|
EDecimal |
EDecimal.MultiplyAndAdd(EDecimal multiplicand,
EDecimal augend)
Multiplies by one decimal number, and then adds another decimal number.
|
EDecimal |
EDecimal.MultiplyAndAdd(EDecimal op,
EDecimal 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.
|
EDecimal |
EDecimal.Negate()
Gets an object with the same value as this one, but with the sign reversed.
|
EDecimal |
EDecimal.Negate(EContext context)
Returns a decimal number 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.
|
EDecimal |
EDecimal.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.
|
static EDecimal |
EDecimal.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.
|
EDecimal |
EDecimal.Pow(EDecimal exponent,
EContext ctx)
Raises this object's value to the given exponent.
|
EDecimal |
EDecimal.Pow(int exponentSmall)
Raises this object's value to the given exponent.
|
EDecimal |
EDecimal.Pow(int exponentSmall,
EContext ctx)
Raises this object's value to the given exponent.
|
EDecimal |
EDecimal.Quantize(EDecimal otherValue,
EContext ctx)
Returns a 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 a decimal number with the same value but a new exponent.
|
EDecimal |
EDecimal.Quantize(int desiredExponentInt,
EContext ctx)
Returns a decimal number with the same value but a new exponent.
|
EDecimal |
EDecimal.Quantize(int desiredExponentInt,
ERounding rounding)
Returns a decimal number with the same value as this one but a new exponent.
|
EDecimal |
EDecimal.Reduce(EContext ctx)
Removes trailing zeros from this object's mantissa (significand).
|
EDecimal |
EDecimal.Remainder(EDecimal divisor,
EContext ctx)
Finds the remainder that results when dividing two arbitrary-precision
decimal numbers.
|
EDecimal |
EDecimal.RemainderNaturalScale(EDecimal divisor)
Calculates the remainder of a number by the formula
"this" - (("this" /
"divisor") * "divisor") |
EDecimal |
EDecimal.RemainderNaturalScale(EDecimal 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.
|
EDecimal |
EDecimal.RoundToExponent(EInteger exponent)
Returns a decimal number with the same value as this object but rounded to a
new exponent if necessary, using the HalfEven rounding mode.
|
EDecimal |
EDecimal.RoundToExponent(EInteger exponent,
EContext ctx)
Returns a decimal number with the same value as this object but rounded to a
new exponent if necessary.
|
EDecimal |
EDecimal.RoundToExponent(EInteger exponent,
ERounding rounding)
Returns a decimal number with the same value as this object but rounded to a
new exponent if necessary, using the given rounding mode.
|
EDecimal |
EDecimal.RoundToExponent(int exponentSmall)
Returns a decimal number with the same value as this object but rounded to a
new exponent if necessary, using the HalfEven rounding mode.
|
EDecimal |
EDecimal.RoundToExponent(int exponentSmall,
EContext ctx)
Returns a decimal number with the same value as this object but rounded to a
new exponent if necessary.
|
EDecimal |
EDecimal.RoundToExponent(int exponentSmall,
ERounding rounding)
Returns a decimal number with the same value as this object but rounded to a
new exponent if necessary.
|
EDecimal |
EDecimal.RoundToExponentExact(EInteger exponent,
EContext ctx)
Returns a decimal number 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.RoundToExponentExact(int exponentSmall,
EContext ctx)
Returns a 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.
|
EDecimal |
EDecimal.RoundToExponentExact(int exponentSmall,
ERounding rounding)
Returns a 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.
|
EDecimal |
EDecimal.RoundToIntegerExact(EContext ctx)
Returns a 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.
|
EDecimal |
EDecimal.RoundToIntegerNoRoundedFlag(EContext ctx)
Returns a decimal number 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.
Renamed to RoundToIntegerExact.
|
EDecimal |
EDecimal.RoundToIntegralNoRoundedFlag(EContext ctx)
Deprecated.
Renamed to RoundToIntegerNoRoundedFlag.
|
EDecimal |
EDecimal.RoundToPrecision(EContext ctx)
Rounds this object's value to a given precision, using the given
rounding mode and range of exponent.
|
EDecimal |
EDecimal.ScaleByPowerOfTen(EInteger bigPlaces)
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.
|
EDecimal |
EDecimal.ScaleByPowerOfTen(int places)
Returns a number similar to this number but with the scale adjusted.
|
EDecimal |
EDecimal.ScaleByPowerOfTen(int places,
EContext ctx)
Returns a number similar to this number but with the scale adjusted.
|
EDecimal |
EDecimal.Sqrt(EContext ctx)
Finds the square root of this object's value.
|
EDecimal |
EDecimal.SquareRoot(EContext ctx)
Deprecated.
Renamed to Sqrt.
|
EDecimal |
EDecimal.Subtract(EDecimal otherValue)
Subtracts an arbitrary-precision decimal number from this instance and
returns the result.
|
EDecimal |
EDecimal.Subtract(EDecimal otherValue,
EContext ctx)
Subtracts an arbitrary-precision decimal number from this instance.
|
EDecimal |
EFloat.ToEDecimal()
Converts this value to an arbitrary-precision decimal number.
|
EDecimal |
ERational.ToEDecimal()
Converts this rational number to a decimal number.
|
EDecimal |
ERational.ToEDecimal(EContext ctx)
Converts this rational number to a decimal number and rounds the result to
the given precision.
|
EDecimal |
ERational.ToEDecimalExactIfPossible(EContext ctx)
Converts this rational number to a decimal number, but if the result would
have a nonterminating decimal expansion, rounds that result to the
given precision.
|
EDecimal |
EFloat.ToExtendedDecimal()
Deprecated.
Renamed to ToEDecimal.
|
EDecimal |
ERational.ToExtendedDecimal()
Deprecated.
Renamed to ToEDecimal.
|
EDecimal |
ERational.ToExtendedDecimal(EContext ctx)
Deprecated.
Renamed to ToEDecimal.
|
EDecimal |
ERational.ToExtendedDecimalExactIfPossible(EContext ctx)
Deprecated.
Renamed to ToEDecimalExactIfPossible.
|
EDecimal |
EDecimal.Ulp()
Returns the unit in the last place.
|
| Modifier and Type | Method and Description |
|---|---|
EDecimal |
EDecimal.Add(EDecimal otherValue)
Adds this object and another decimal number and returns the result.
|
EDecimal |
EDecimal.Add(EDecimal otherValue,
EContext ctx)
Finds the sum of this object and another object.
|
int |
EDecimal.compareTo(EDecimal other)
Compares the mathematical values of this object and another object,
accepting NaN values.
|
int |
ERational.CompareToDecimal(EDecimal other)
Compares an arbitrary-precision decimal number with this instance.
|
EDecimal |
EDecimal.CompareToSignal(EDecimal other,
EContext ctx)
Compares the mathematical values of this object and another object, treating
quiet NaN as signaling.
|
int |
EDecimal.CompareToTotal(EDecimal other)
Compares the values of this object and another object, imposing a total
ordering on all possible values.
|
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 |
EDecimal.CompareToTotalMagnitude(EDecimal other)
Compares the absolute 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.
|
EDecimal |
EDecimal.CopySign(EDecimal other)
Returns a number with the same value as this one, but copying the sign
(positive or negative) of another number.
|
EDecimal |
EDecimal.Divide(EDecimal divisor)
Divides this object by another decimal number and returns the result.
|
EDecimal |
EDecimal.Divide(EDecimal divisor,
EContext ctx)
Divides this arbitrary-precision decimal number by another
arbitrary-precision decimal number.
|
EDecimal[] |
EDecimal.DivideAndRemainderNaturalScale(EDecimal divisor)
Deprecated.
Renamed to DivRemNaturalScale.
|
EDecimal[] |
EDecimal.DivideAndRemainderNaturalScale(EDecimal divisor,
EContext ctx)
Deprecated.
Renamed to DivRemNaturalScale.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
EInteger exponent)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result, using the half-even rounding mode.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
EInteger exponent,
EContext ctx)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
EInteger desiredExponent,
ERounding rounding)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result.
|
EDecimal |
EDecimal.DivideToExponent(EDecimal divisor,
int desiredExponentInt)
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,
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,
int desiredExponentInt,
ERounding rounding)
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)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent (expressed as a 64-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,
long desiredExponentSmall,
ERounding rounding)
Divides two arbitrary-precision decimal numbers, and gives a particular
exponent to the result.
|
EDecimal |
EDecimal.DivideToIntegerNaturalScale(EDecimal divisor)
Divides two arbitrary-precision decimal numbers, and returns the integer
part of the result, rounded down, with the preferred exponent set to
this value's exponent minus the divisor's exponent.
|
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.
|
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.
|
EDecimal |
EDecimal.DivideToSameExponent(EDecimal divisor,
ERounding rounding)
Divides this object by another decimal number and returns a result with the
same exponent as this object (the dividend).
|
EDecimal[] |
EDecimal.DivRemNaturalScale(EDecimal divisor)
Calculates the quotient and remainder using the DivideToIntegerNaturalScale
and the formula in RemainderNaturalScale.
|
EDecimal[] |
EDecimal.DivRemNaturalScale(EDecimal divisor,
EContext ctx)
Calculates the quotient and remainder using the DivideToIntegerNaturalScale
and the formula in RemainderNaturalScale.
|
boolean |
EDecimal.equals(EDecimal other)
Determines whether this object's mantissa (significand), exponent, and
properties are equal to those of another object.
|
static ERational |
ERational.FromEDecimal(EDecimal ef)
Converts an arbitrary-precision decimal number to a rational number.
|
static ERational |
ERational.FromExtendedDecimal(EDecimal ef)
Deprecated.
Renamed to FromEDecimal.
|
static EDecimal |
EDecimal.Max(EDecimal first,
EDecimal second)
Gets the greater value between two decimal numbers.
|
static EDecimal |
EDecimal.Max(EDecimal first,
EDecimal second,
EContext ctx)
Gets the greater value between two decimal numbers.
|
static EDecimal |
EDecimal.MaxMagnitude(EDecimal first,
EDecimal second)
Gets the greater value between two values, ignoring their signs.
|
static EDecimal |
EDecimal.MaxMagnitude(EDecimal first,
EDecimal second,
EContext ctx)
Gets the greater value between two values, ignoring their signs.
|
static EDecimal |
EDecimal.Min(EDecimal first,
EDecimal second)
Gets the lesser value between two decimal numbers.
|
static EDecimal |
EDecimal.Min(EDecimal first,
EDecimal second,
EContext ctx)
Gets the lesser value between two decimal numbers.
|
static EDecimal |
EDecimal.MinMagnitude(EDecimal first,
EDecimal second)
Gets the lesser value between two values, ignoring their signs.
|
static EDecimal |
EDecimal.MinMagnitude(EDecimal first,
EDecimal second,
EContext ctx)
Gets the lesser value between two values, ignoring their signs.
|
EDecimal |
EDecimal.Multiply(EDecimal otherValue)
Multiplies two decimal numbers.
|
EDecimal |
EDecimal.Multiply(EDecimal op,
EContext ctx)
Multiplies two decimal numbers.
|
EDecimal |
EDecimal.MultiplyAndAdd(EDecimal multiplicand,
EDecimal augend)
Multiplies by one decimal number, and then adds another decimal number.
|
EDecimal |
EDecimal.MultiplyAndAdd(EDecimal op,
EDecimal 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.
|
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.
|
EDecimal |
EDecimal.Pow(EDecimal exponent,
EContext ctx)
Raises this object's value to the given exponent.
|
EDecimal |
EDecimal.Quantize(EDecimal otherValue,
EContext ctx)
Returns a decimal number with the same value as this object but with the
same exponent as another decimal number.
|
EDecimal |
EDecimal.Remainder(EDecimal divisor,
EContext ctx)
Finds the remainder that results when dividing two arbitrary-precision
decimal numbers.
|
EDecimal |
EDecimal.RemainderNaturalScale(EDecimal divisor)
Calculates the remainder of a number by the formula
"this" - (("this" /
"divisor") * "divisor") |
EDecimal |
EDecimal.RemainderNaturalScale(EDecimal 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.
|
EDecimal |
EDecimal.Subtract(EDecimal otherValue)
Subtracts an arbitrary-precision decimal number from this instance and
returns the result.
|
EDecimal |
EDecimal.Subtract(EDecimal otherValue,
EContext ctx)
Subtracts an arbitrary-precision decimal number from this instance.
|
CBOR for Java documentation, generated in 2016.