EFloat |
EFloat.Abs() |
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).
|
EFloat |
EFloat.Add(int intValue) |
Adds this object and another object.
|
EFloat |
EFloat.Add(EFloat otherValue) |
Adds this object and another binary float and returns the result.
|
EFloat |
EFloat.Add(EFloat otherValue,
EContext ctx) |
Finds the sum of this object and another object.
|
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 EFloat |
EFloats.BooleanToEFloat(boolean b,
EContext ec) |
Converts a boolean value (either true or false) to an arbitrary-precision
binary floating-point number.
|
static EFloat |
EFloats.Canonical(EFloat ed) |
Returns a canonical version of the given arbitrary-precision number object.
|
EFloat |
EFloat.CompareToSignal(EFloat other,
EContext ctx) |
Compares the mathematical values of this object and another object, treating
quiet NaN as signaling.
|
EFloat |
EFloat.CompareToWithContext(EFloat other,
EContext ctx) |
Compares the mathematical values of this object and another object.
|
EFloat |
EFloat.Copy() |
Creates a copy of this arbitrary-precision binary number.
|
static EFloat |
EFloats.Copy(EFloat ed) |
Creates a copy of the given arbitrary-precision number object.
|
static EFloat |
EFloats.CopyAbs(EFloat 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 EFloat |
EFloats.CopyNegate(EFloat ed) |
Returns an arbitrary-precision number object with the sign reversed from the
given number object.
|
EFloat |
EFloat.CopySign(EFloat other) |
Returns a number with the same value as this one, but copying the sign
(positive or negative) of another number.
|
static EFloat |
EFloats.CopySign(EFloat ed,
EFloat 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 EFloat |
EFloat.Create(int mantissaSmall,
int exponentSmall) |
Creates a number with the value exponent*2^mantissa (significand).
|
static EFloat |
EFloat.Create(EInteger mantissa,
EInteger exponent) |
Creates a number with the value exponent*2^mantissa (significand).
|
static EFloat |
EFloat.CreateNaN(EInteger diag) |
Creates a not-a-number arbitrary-precision binary floating-point number.
|
static EFloat |
EFloat.CreateNaN(EInteger diag,
boolean signaling,
boolean negative,
EContext ctx) |
Creates a not-a-number arbitrary-precision binary floating-point number.
|
EFloat |
EFloat.Divide(int intValue) |
Divides this instance by the value of an arbitrary-precision integer.
|
EFloat |
EFloat.Divide(EFloat divisor) |
Divides this object by another binary float and returns the result.
|
EFloat |
EFloat.Divide(EFloat divisor,
EContext ctx) |
Divides this arbitrary-precision binary float by another arbitrary-precision
binary floating-point number.
|
EFloat[] |
EFloat.DivideAndRemainderNaturalScale(EFloat divisor) |
Deprecated.
|
EFloat[] |
EFloat.DivideAndRemainderNaturalScale(EFloat divisor,
EContext ctx) |
Deprecated.
|
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,
long desiredExponentSmall,
ERounding rounding) |
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.
|
EFloat |
EFloat.DivideToExponent(EFloat divisor,
EInteger desiredExponent,
ERounding rounding) |
Divides two arbitrary-precision binary floating-point numbers, and gives a
particular exponent to the result.
|
EFloat |
EFloat.DivideToIntegerNaturalScale(EFloat divisor) |
Divides two arbitrary-precision binary floating-point 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.
|
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.
|
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.
|
EFloat |
EFloat.DivideToSameExponent(EFloat divisor,
ERounding rounding) |
Divides this object by another binary float and returns a result with the
same exponent as this object (the dividend).
|
EFloat[] |
EFloat.DivRemNaturalScale(EFloat divisor) |
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.
|
EFloat |
EFloat.Exp(EContext ctx) |
Finds e (the base of natural logarithms) raised to the power of this
object's value.
|
static EFloat |
EFloat.FromBoolean(boolean boolValue) |
Converts a boolean value (either true or false) to an arbitrary-precision
binary float.
|
static EFloat |
EFloat.FromByte(byte inputByte) |
Converts a byte (from 0 to 255) to an arbitrary-precision binary
floating-point number.
|
static EFloat |
EFloat.FromDouble(double dbl) |
Creates a binary float from a 64-bit floating-point number.
|
static EFloat |
EFloat.FromEInteger(EInteger bigint) |
Converts an arbitrary-precision integer to the same value as a binary float.
|
static EFloat |
EFloat.FromInt16(short inputInt16) |
Converts a 16-bit signed integer to an arbitrary-precision binary
floating-point number.
|
static EFloat |
EFloat.FromInt32(int inputInt32) |
Converts a 32-bit signed integer to an arbitrary-precision binary
floating-point number.
|
static EFloat |
EFloat.FromInt64(long inputInt64) |
Converts a 64-bit signed integer to an arbitrary-precision binary
floating-point number.
|
static EFloat |
EFloat.FromSingle(float flt) |
Creates a binary float from a 32-bit floating-point number.
|
static EFloat |
EFloat.FromString(java.lang.String str) |
Creates a binary float from a text string that represents a number, using an
unlimited precision context.
|
static EFloat |
EFloat.FromString(java.lang.String str,
int offset,
int length) |
Creates a binary float 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 EFloat |
EFloats.Int32ToEFloat(int i32,
EContext ec) |
Creates a binary floating-point number from a 32-bit signed integer.
|
static EFloat |
EFloats.Invert(EFloat ed1,
EContext ec) |
Performs a logical NOT operation on a binary number in the form of a
logical operand .
|
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.
|
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 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 EFloat |
EFloat.Max(EFloat first,
EFloat second) |
Gets the greater value between two binary floating-point numbers.
|
static EFloat |
EFloat.Max(EFloat first,
EFloat second,
EContext ctx) |
Gets the greater value between two binary floating-point numbers.
|
static EFloat |
EFloat.MaxMagnitude(EFloat first,
EFloat second) |
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 EFloat |
EFloat.Min(EFloat first,
EFloat second) |
Gets the lesser value between two binary floating-point numbers.
|
static EFloat |
EFloat.Min(EFloat first,
EFloat second,
EContext ctx) |
Gets the lesser value between two binary floating-point numbers.
|
static EFloat |
EFloat.MinMagnitude(EFloat first,
EFloat second) |
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.
|
EFloat |
EFloat.MovePointLeft(int places) |
Returns a number similar to this number but with the radix 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) |
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.
|
EFloat |
EFloat.MovePointRight(int places) |
Returns a number similar to this number but with the radix 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) |
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.
|
EFloat |
EFloat.Multiply(int intValue) |
Multiplies this instance by the value of an arbitrary-precision integer
object.
|
EFloat |
EFloat.Multiply(EFloat otherValue) |
Multiplies two binary floating-point numbers.
|
EFloat |
EFloat.Multiply(EFloat op,
EContext ctx) |
Multiplies two binary floating-point numbers.
|
EFloat |
EFloat.MultiplyAndAdd(EFloat multiplicand,
EFloat augend) |
Multiplies by one binary float, and then adds another binary float.
|
EFloat |
EFloat.MultiplyAndAdd(EFloat op,
EFloat augend,
EContext ctx) |
Multiplies by one value, and then adds another value.
|
EFloat |
EFloat.MultiplyAndSubtract(EFloat op,
EFloat subtrahend,
EContext ctx) |
Multiplies by one value, and then subtracts another value.
|
EFloat |
EFloat.Negate() |
Gets an object with the same value as this one, 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.
|
EFloat |
EFloat.NextMinus(EContext ctx) |
Finds the largest value that's smaller than the given value.
|
EFloat |
EFloat.NextPlus(EContext ctx) |
Finds the smallest value that's greater than the given 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 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 EFloat |
EFloat.PI(EContext ctx) |
Finds the constant π, the circumference of a circle divided by its diameter.
|
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.
|
EFloat |
EFloat.Pow(int exponentSmall) |
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.
|
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 EFloat |
EFloats.Radix(EContext ec) |
Returns the number 2, the binary radix.
|
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).
|
EFloat |
EFloat.Remainder(EFloat divisor,
EContext ctx) |
Finds the remainder that results when dividing two arbitrary-precision
binary floating-point numbers.
|
EFloat |
EFloat.RemainderNaturalScale(EFloat divisor) |
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").
|
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.
|
EFloat |
EFloat.RemainderNoRoundAfterDivide(EFloat divisor,
EContext ctx) |
Finds the remainder that results when dividing two arbitrary-precision
binary floating-point numbers.
|
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 EFloat |
EFloats.Rotate(EFloat ed,
EFloat ed2,
EContext ec) |
Rotates the bits of an arbitrary-precision binary number's mantissa.
|
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.
|
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.
|
EFloat |
EFloat.RoundToExponentExact(EInteger exponent,
ERounding rounding) |
Returns a binary number with the same value as this object but rounded to
the given exponent.
|
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.
|
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.
|
EFloat |
EFloat.RoundToIntegralExact(EContext ctx) |
Deprecated.
|
EFloat |
EFloat.RoundToIntegralNoRoundedFlag(EContext ctx) |
Deprecated.
|
EFloat |
EFloat.RoundToPrecision(EContext ctx) |
Rounds this object's value to a given precision, using the given rounding
mode and range of exponent.
|
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.
|
EFloat |
EFloat.ScaleByPowerOfTwo(int places) |
Returns a number similar to this number but with the 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) |
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 EFloat |
EFloats.Shift(EFloat ed,
EFloat ed2,
EContext ec) |
Shifts the bits of an arbitrary-precision binary floating point number's
mantissa.
|
EFloat |
EFloat.Sqrt(EContext ctx) |
Finds the square root of this object's value.
|
EFloat |
EFloat.SquareRoot(EContext ctx) |
Deprecated.
|
EFloat |
EFloat.Subtract(int intValue) |
Subtracts an arbitrary-precision integer from this arbitrary-precision
integer.
|
EFloat |
EFloat.Subtract(EFloat otherValue) |
Subtracts an arbitrary-precision binary float from this instance and returns
the result.
|
EFloat |
EFloat.Subtract(EFloat otherValue,
EContext ctx) |
Subtracts an arbitrary-precision binary float from this instance.
|
EFloat |
EDecimal.ToEFloat() |
Creates a binary floating-point number from this object's value.
|
EFloat |
EDecimal.ToEFloat(EContext ec) |
Creates a binary floating-point number from this object's value.
|
EFloat |
ERational.ToEFloat() |
Converts this rational number to a binary float.
|
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.
|
EFloat |
EDecimal.ToExtendedFloat() |
Deprecated.
|
EFloat |
ERational.ToExtendedFloat() |
Deprecated.
|
EFloat |
ERational.ToExtendedFloat(EContext ctx) |
Deprecated.
|
EFloat |
ERational.ToExtendedFloatExactIfPossible(EContext ctx) |
Deprecated.
|
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.
|
EFloat |
EFloat.Ulp() |
Returns the unit in the last place.
|
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 .
|