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(int intValue) |
Adds this object and an 32-bit signed integer and returns the result.
|
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.
|
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 EDecimal |
EDecimals.BooleanToEDecimal(boolean b,
EContext ec) |
Converts a boolean value (either true or false) to an arbitrary-precision
decimal number.
|
static EDecimal |
EDecimals.Canonical(EDecimal ed) |
Returns a canonical version of the given arbitrary-precision number 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.Copy() |
Creates a copy of this arbitrary-precision binary number.
|
static EDecimal |
EDecimals.Copy(EDecimal ed) |
Creates a copy of the given arbitrary-precision number object.
|
static EDecimal |
EDecimals.CopyAbs(EDecimal ed) |
Returns an arbitrary-precision number object with the same value as the
given number object but with a nonnegative sign (that is, the given
number object's absolute value).
|
static EDecimal |
EDecimals.CopyNegate(EDecimal ed) |
Returns an arbitrary-precision number object with the sign reversed from the
given number 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 |
EDecimals.CopySign(EDecimal ed,
EDecimal other) |
Returns an arbitrary-precision number object with the same value as the
first given number object but with a the same sign (positive or
negative) as the second given number object.
|
static EDecimal |
EDecimal.Create(int mantissaSmall,
int exponentSmall) |
Creates a number with the value exponent*10^mantissa
|
static EDecimal |
EDecimal.Create(EInteger mantissa,
EInteger exponent) |
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(int intValue) |
Divides this object by an 32-bit signed integer and returns the result.
|
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.
|
EDecimal[] |
EDecimal.DivideAndRemainderNaturalScale(EDecimal divisor,
EContext ctx) |
Deprecated.
|
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.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.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.FromBoolean(boolean boolValue) |
Converts a boolean value (true or false) to an arbitrary-precision decimal
number.
|
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 an arbitrary-precision decimal number from a 64-bit binary
floating-point number.
|
static EDecimal |
EDecimal.FromEFloat(EFloat bigfloat) |
Creates an arbitrary-precision 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.
|
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 an arbitrary-precision decimal number from a 32-bit signed integer.
|
static EDecimal |
EDecimal.FromInt64(long valueSmall) |
Creates an arbitrary-precision decimal number from a 64-bit signed integer.
|
static EDecimal |
EDecimal.FromSingle(float flt) |
Creates an arbitrary-precision decimal number from a 32-bit binary
floating-point number.
|
static EDecimal |
EDecimal.FromString(java.lang.String str) |
Creates an arbitrary-precision decimal number from a text string that
represents a number.
|
static EDecimal |
EDecimal.FromString(java.lang.String str,
int offset,
int length) |
Creates an arbitrary-precision decimal number from a text string that
represents a number.
|
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 EDecimal |
EDecimals.Int32ToEDecimal(int i32,
EContext ec) |
Creates an arbitrary-precision decimal 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 .
|
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 |
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 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(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.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.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.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.Multiply(int intValue) |
Multiplies this object by the given 32-bit signed integer.
|
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 an arbitrary-precision 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 |
EDecimals.Or(EDecimal ed1,
EDecimal ed2,
EContext ec) |
Performs a logical OR operation on two decimal 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.
|
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(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.Pow(EDecimal 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(int desiredExponentInt,
ERounding rounding) |
Returns an arbitrary-precision decimal number with the same value as this
one 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.
|
static EDecimal |
EDecimals.Radix(EContext ec) |
Returns the number 10, the decimal 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).
|
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.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.
|
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 EDecimal |
EDecimals.Rotate(EDecimal ed,
EDecimal ed2,
EContext ec) |
Rotates the digits of an arbitrary-precision decimal number's mantissa.
|
EDecimal |
EDecimal.RoundToExponent(int exponentSmall) |
Returns an arbitrary-precision 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 an arbitrary-precision 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 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) |
Returns an arbitrary-precision 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 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,
ERounding rounding) |
Returns an arbitrary-precision decimal number with the same value as this
object but rounded to a new exponent if necessary, using the given
rounding mode.
|
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(int exponentSmall,
ERounding rounding) |
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.
|
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.
|
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.
|
EDecimal |
EDecimal.RoundToIntegralExact(EContext ctx) |
Deprecated.
|
EDecimal |
EDecimal.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.
|
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.
|
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.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.
|
static EDecimal |
EDecimals.Shift(EDecimal ed,
EDecimal ed2,
EContext ec) |
Shifts the digits of an arbitrary-precision decimal number's mantissa.
|
EDecimal |
EDecimal.Sqrt(EContext ctx) |
Finds the square root of this object's value.
|
EDecimal |
EDecimal.SquareRoot(EContext ctx) |
Deprecated.
|
EDecimal |
EDecimal.Subtract(int intValue) |
Subtracts a 32-bit signed integer from this object and returns the result.
|
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 an arbitrary-precision decimal number.
|
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.
|
EDecimal |
EFloat.ToExtendedDecimal() |
Deprecated.
|
EDecimal |
ERational.ToExtendedDecimal() |
Deprecated.
|
EDecimal |
ERational.ToExtendedDecimal(EContext ctx) |
Deprecated.
|
EDecimal |
ERational.ToExtendedDecimalExactIfPossible(EContext ctx) |
Deprecated.
|
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.
|
EDecimal |
EDecimal.Ulp() |
Returns the unit in the last place.
|
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 .
|