Uses of Class
com.upokecenter.numbers.EFloat
-
-
Uses of EFloat in com.upokecenter.numbers
Fields in com.upokecenter.numbers declared as EFloat Modifier and Type Field Description static EFloatEFloat. NaNstatic EFloatEFloat. NegativeInfinitystatic EFloatEFloat. NegativeZerostatic EFloatEFloat. Onestatic EFloatEFloat. PositiveInfinitystatic EFloatEFloat. SignalingNaNstatic EFloatEFloat. Tenstatic EFloatEFloat. ZeroMethods in com.upokecenter.numbers that return EFloat Modifier and Type Method Description EFloatEFloat. Abs()EFloatEFloat. Abs(EContext context)EFloatEFloat. Add(int intValue)EFloatEFloat. Add(EFloat otherValue)EFloatEFloat. Add(EFloat otherValue, EContext ctx)static EFloatEFloats. And(EFloat ed1, EFloat ed2, EContext ec)Performs a logical AND operation on two binary numbers in the form of logical operands.static EFloatEFloats. BooleanToEFloat(boolean b, EContext ec)Converts a boolean value (either true or false) to an arbitrary-precision binary floating-point number.static EFloatEFloats. Canonical(EFloat ed)Returns a canonical version of the given arbitrary-precision number object.EFloatEFloat. CompareToSignal(EFloat other, EContext ctx)EFloatEFloat. CompareToWithContext(EFloat other, EContext ctx)EFloatEFloat. Copy()static EFloatEFloats. Copy(EFloat ed)Creates a copy of the given arbitrary-precision number object.static EFloatEFloats. 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 EFloatEFloats. CopyNegate(EFloat ed)Returns an arbitrary-precision number object with the sign reversed from the given number object.EFloatEFloat. CopySign(EFloat other)static EFloatEFloats. 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 EFloatEFloat. Create(int mantissaSmall, int exponentSmall)static EFloatEFloat. Create(long mantissaLong, int exponentSmall)static EFloatEFloat. Create(long mantissaLong, long exponentLong)static EFloatEFloat. Create(EInteger mantissa, int exponentSmall)static EFloatEFloat. Create(EInteger mantissa, long exponentLong)static EFloatEFloat. Create(EInteger mantissa, EInteger exponent)static EFloatEFloat. CreateNaN(EInteger diag)static EFloatEFloat. CreateNaN(EInteger diag, boolean signaling, boolean negative, EContext ctx)EFloatEFloat. Decrement()EFloatEFloat. Divide(int intValue)EFloatEFloat. Divide(EFloat divisor)EFloatEFloat. Divide(EFloat divisor, EContext ctx)EFloat[]EFloat. DivideAndRemainderNaturalScale(EFloat divisor)Deprecated.Renamed to DivRemNaturalScale.EFloat[]EFloat. DivideAndRemainderNaturalScale(EFloat divisor, EContext ctx)Deprecated.Renamed to DivRemNaturalScale.EFloatEFloat. DivideToExponent(EFloat divisor, long desiredExponentSmall, EContext ctx)EFloatEFloat. DivideToExponent(EFloat divisor, long desiredExponentSmall, ERounding rounding)EFloatEFloat. DivideToExponent(EFloat divisor, EInteger exponent, EContext ctx)EFloatEFloat. DivideToExponent(EFloat divisor, EInteger desiredExponent, ERounding rounding)EFloatEFloat. DivideToIntegerNaturalScale(EFloat divisor)EFloatEFloat. DivideToIntegerNaturalScale(EFloat divisor, EContext ctx)EFloatEFloat. DivideToIntegerZeroScale(EFloat divisor, EContext ctx)EFloatEFloat. DivideToSameExponent(EFloat divisor, ERounding rounding)EFloat[]EFloat. DivRemNaturalScale(EFloat divisor)EFloat[]EFloat. DivRemNaturalScale(EFloat divisor, EContext ctx)EFloatEFloat. Exp(EContext ctx)static EFloatEFloat. FromBoolean(boolean boolValue)static EFloatEFloat. FromByte(byte inputByte)static EFloatEFloat. FromDouble(double dbl)static EFloatEFloat. FromEInteger(EInteger bigint)static EFloatEFloat. FromInt16(short inputInt16)static EFloatEFloat. FromInt32(int inputInt32)static EFloatEFloat. FromInt64(long inputInt64)static EFloatEFloat. FromSingle(float flt)static EFloatEFloat. FromString(java.lang.String str)static EFloatEFloat. FromString(java.lang.String str, int offset, int length)static EFloatEFloat. FromString(java.lang.String str, int offset, int length, EContext ctx)static EFloatEFloat. FromString(java.lang.String str, EContext ctx)EFloatEFloat. Increment()static EFloatEFloats. Int32ToEFloat(int i32, EContext ec)Creates a binary floating-point number from a 32-bit signed integer.static EFloatEFloats. Invert(EFloat ed1, EContext ec)Performs a logical NOT operation on a binary number in the form of a logical operand.EFloatEFloat. Log(EContext ctx)EFloatEFloat. Log10(EContext ctx)static EFloatEFloats. 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).EFloatEFloat. LogN(EFloat baseValue, EContext ctx)static EFloatEFloat. Max(EFloat first, EFloat second)static EFloatEFloat. Max(EFloat first, EFloat second, EContext ctx)static EFloatEFloat. MaxMagnitude(EFloat first, EFloat second)static EFloatEFloat. MaxMagnitude(EFloat first, EFloat second, EContext ctx)static EFloatEFloat. Min(EFloat first, EFloat second)static EFloatEFloat. Min(EFloat first, EFloat second, EContext ctx)static EFloatEFloat. MinMagnitude(EFloat first, EFloat second)static EFloatEFloat. MinMagnitude(EFloat first, EFloat second, EContext ctx)EFloatEFloat. MovePointLeft(int places)EFloatEFloat. MovePointLeft(int places, EContext ctx)EFloatEFloat. MovePointLeft(EInteger bigPlaces)EFloatEFloat. MovePointLeft(EInteger bigPlaces, EContext ctx)EFloatEFloat. MovePointRight(int places)EFloatEFloat. MovePointRight(int places, EContext ctx)EFloatEFloat. MovePointRight(EInteger bigPlaces)EFloatEFloat. MovePointRight(EInteger bigPlaces, EContext ctx)EFloatEFloat. Multiply(int intValue)EFloatEFloat. Multiply(EFloat otherValue)EFloatEFloat. Multiply(EFloat op, EContext ctx)EFloatEFloat. MultiplyAndAdd(EFloat multiplicand, EFloat augend)EFloatEFloat. MultiplyAndAdd(EFloat op, EFloat augend, EContext ctx)EFloatEFloat. MultiplyAndSubtract(EFloat op, EFloat subtrahend, EContext ctx)EFloatEFloat. Negate()EFloatEFloat. Negate(EContext context)EFloatEFloat. NextMinus(EContext ctx)EFloatEFloat. NextPlus(EContext ctx)EFloatEFloat. NextToward(EFloat otherValue, EContext ctx)static EFloatEFloats. Or(EFloat ed1, EFloat ed2, EContext ec)Performs a logical OR operation on two binary numbers in the form of logical operands.static EFloatEFloat. PI(EContext ctx)EFloatEFloat. Plus(EContext ctx)EFloatEFloat. Pow(int exponentSmall)EFloatEFloat. Pow(int exponentSmall, EContext ctx)EFloatEFloat. Pow(EFloat exponent)EFloatEFloat. Pow(EFloat exponent, EContext ctx)EFloatEFloat. PreRound(EContext ctx)EFloatEFloat. Quantize(int desiredExponentInt, EContext ctx)EFloatEFloat. Quantize(EFloat otherValue, EContext ctx)EFloatEFloat. Quantize(EInteger desiredExponent, EContext ctx)static EFloatEFloats. Radix(EContext ec)Returns the number 2, the binary radix.EFloatEFloat. Reduce(EContext ctx)EFloatEFloat. Remainder(EFloat divisor, EContext ctx)EFloatEFloat. RemainderNaturalScale(EFloat divisor)EFloatEFloat. RemainderNaturalScale(EFloat divisor, EContext ctx)EFloatEFloat. RemainderNear(EFloat divisor, EContext ctx)EFloatEFloat. RemainderNoRoundAfterDivide(EFloat divisor, EContext ctx)static EFloatEFloats. 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 EFloatEFloats. Rotate(EFloat ed, EFloat ed2, EContext ec)Rotates the bits of an arbitrary-precision binary number's significand.EFloatEFloat. RoundToExponent(int exponentSmall, EContext ctx)EFloatEFloat. RoundToExponent(EInteger exponent, EContext ctx)EFloatEFloat. RoundToExponentExact(int exponentSmall, EContext ctx)EFloatEFloat. RoundToExponentExact(EInteger exponent, EContext ctx)EFloatEFloat. RoundToExponentExact(EInteger exponent, ERounding rounding)EFloatEFloat. RoundToIntegerExact(EContext ctx)EFloatEFloat. RoundToIntegerNoRoundedFlag(EContext ctx)EFloatEFloat. RoundToIntegralExact(EContext ctx)Deprecated.Renamed to RoundToIntegerExact.EFloatEFloat. RoundToIntegralNoRoundedFlag(EContext ctx)Deprecated.Renamed to RoundToIntegerNoRoundedFlag.EFloatEFloat. RoundToPrecision(EContext ctx)static EFloatEFloats. ScaleB(EFloat ed, EFloat ed2, EContext ec)Finds an arbitrary-precision binary number whose binary point is moved a given number of places.EFloatEFloat. ScaleByPowerOfTwo(int places)EFloatEFloat. ScaleByPowerOfTwo(int places, EContext ctx)EFloatEFloat. ScaleByPowerOfTwo(EInteger bigPlaces)EFloatEFloat. ScaleByPowerOfTwo(EInteger bigPlaces, EContext ctx)static EFloatEFloats. Shift(EFloat ed, EFloat ed2, EContext ec)Shifts the bits of an arbitrary-precision binary floating point number's significand.EFloatEFloat. Sqrt(EContext ctx)EFloatEFloat. SquareRoot(EContext ctx)Deprecated.Renamed to Sqrt.EFloatEFloat. Subtract(int intValue)EFloatEFloat. Subtract(EFloat otherValue)EFloatEFloat. Subtract(EFloat otherValue, EContext ctx)EFloatEDecimal. ToEFloat()EFloatEDecimal. ToEFloat(EContext ec)EFloatERational. ToEFloat()Converts this rational number to a binary floating-point number.EFloatERational. ToEFloat(EContext ctx)Converts this rational number to a binary floating-point number and rounds that result to the given precision.EFloatERational. ToEFloatExactIfPossible(EContext ctx)Converts this rational number to a binary floating-point number, but if the result would have a nonterminating binary expansion, rounds that result to the given precision.EFloatEDecimal. ToExtendedFloat()Deprecated.Renamed to ToEFloat.EFloatERational. ToExtendedFloat()Deprecated.Renamed to ToEFloat.EFloatERational. ToExtendedFloat(EContext ctx)Deprecated.Renamed to ToEFloat.EFloatERational. ToExtendedFloatExactIfPossible(EContext ctx)Deprecated.Renamed to ToEFloatExactIfPossible.static EFloatEFloats. 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 significand.EFloatEFloat. Ulp()static EFloatEFloats. Xor(EFloat ed1, EFloat ed2, EContext ec)Performs a logical exclusive-OR (XOR) operation on two binary numbers in the form of logical operands.Methods in com.upokecenter.numbers with parameters of type EFloat Modifier and Type Method Description EFloatEFloat. Add(EFloat otherValue)EFloatEFloat. Add(EFloat otherValue, EContext ctx)static EFloatEFloats. And(EFloat ed1, EFloat ed2, EContext ec)Performs a logical AND operation on two binary numbers in the form of logical operands.static EFloatEFloats. Canonical(EFloat ed)Returns a canonical version of the given arbitrary-precision number object.intEFloat. compareTo(EFloat other)intEDecimal. CompareToBinary(EFloat other)intERational. CompareToBinary(EFloat other)Compares an arbitrary-precision binary floating-point number with this instance.EFloatEFloat. CompareToSignal(EFloat other, EContext ctx)static intEFloats. 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 intEFloats. 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).intEFloat. CompareToTotal(EFloat other)intEFloat. CompareToTotal(EFloat other, EContext ctx)intEFloat. CompareToTotalMagnitude(EFloat other)intEFloat. CompareToTotalMagnitude(EFloat other, EContext ctx)intEFloat. CompareToValue(EFloat other)EFloatEFloat. CompareToWithContext(EFloat other, EContext ctx)static EFloatEFloats. Copy(EFloat ed)Creates a copy of the given arbitrary-precision number object.static EFloatEFloats. 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 EFloatEFloats. CopyNegate(EFloat ed)Returns an arbitrary-precision number object with the sign reversed from the given number object.EFloatEFloat. CopySign(EFloat other)static EFloatEFloats. 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.EFloatEFloat. Divide(EFloat divisor)EFloatEFloat. Divide(EFloat divisor, EContext ctx)EFloat[]EFloat. DivideAndRemainderNaturalScale(EFloat divisor)Deprecated.Renamed to DivRemNaturalScale.EFloat[]EFloat. DivideAndRemainderNaturalScale(EFloat divisor, EContext ctx)Deprecated.Renamed to DivRemNaturalScale.EFloatEFloat. DivideToExponent(EFloat divisor, long desiredExponentSmall, EContext ctx)EFloatEFloat. DivideToExponent(EFloat divisor, long desiredExponentSmall, ERounding rounding)EFloatEFloat. DivideToExponent(EFloat divisor, EInteger exponent, EContext ctx)EFloatEFloat. DivideToExponent(EFloat divisor, EInteger desiredExponent, ERounding rounding)EFloatEFloat. DivideToIntegerNaturalScale(EFloat divisor)EFloatEFloat. DivideToIntegerNaturalScale(EFloat divisor, EContext ctx)EFloatEFloat. DivideToIntegerZeroScale(EFloat divisor, EContext ctx)EFloatEFloat. DivideToSameExponent(EFloat divisor, ERounding rounding)EFloat[]EFloat. DivRemNaturalScale(EFloat divisor)EFloat[]EFloat. DivRemNaturalScale(EFloat divisor, EContext ctx)booleanEFloat. equals(EFloat other)booleanEFloat. EqualsInternal(EFloat otherValue)static EDecimalEDecimal. FromEFloat(EFloat bigfloat)static ERationalERational. FromEFloat(EFloat ef)Converts an arbitrary-precision binary floating-point number to a rational number.static EDecimalEDecimal. FromExtendedFloat(EFloat ef)Deprecated.Renamed to FromEFloat.static ERationalERational. FromExtendedFloat(EFloat ef)Deprecated.Renamed to FromEFloat.static EFloatEFloats. Invert(EFloat ed1, EContext ec)Performs a logical NOT operation on a binary number in the form of a logical operand.static booleanEFloats. IsCanonical(EFloat ed)Returns whether the given arbitrary-precision number object is in a canonical form.static booleanEFloats. IsFinite(EFloat ed)Returns whether the given arbitrary-precision number object is neither null nor infinity nor not-a-number (NaN).static booleanEFloats. IsInfinite(EFloat ed)Returns whether the given arbitrary-precision number object is positive or negative infinity.static booleanEFloats. IsNaN(EFloat ed)Returns whether the given arbitrary-precision number object is a not-a-number (NaN).static booleanEFloats. IsNormal(EFloat ed, EContext ec)Returns whether the given number is a normal number.static booleanEFloats. IsQuietNaN(EFloat ed)Returns whether the given arbitrary-precision number object is a quiet not-a-number (NaN).static booleanEFloats. IsSignalingNaN(EFloat ed)Returns whether the given arbitrary-precision number object is a signaling not-a-number (NaN).static booleanEFloats. IsSigned(EFloat ed)Returns whether the given arbitrary-precision number object is negative (including negative infinity, negative not-a-number.get(NaN), or negative zero).static booleanEFloats. IsSubnormal(EFloat ed, EContext ec)Returns whether the given number is a subnormal number.static booleanEFloats. IsZero(EFloat ed)Returns whether the given arbitrary-precision number object is zero (positive zero or negative zero).static EFloatEFloats. 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).EFloatEFloat. LogN(EFloat baseValue, EContext ctx)static EFloatEFloat. Max(EFloat first, EFloat second)static EFloatEFloat. Max(EFloat first, EFloat second, EContext ctx)static EFloatEFloat. MaxMagnitude(EFloat first, EFloat second)static EFloatEFloat. MaxMagnitude(EFloat first, EFloat second, EContext ctx)static EFloatEFloat. Min(EFloat first, EFloat second)static EFloatEFloat. Min(EFloat first, EFloat second, EContext ctx)static EFloatEFloat. MinMagnitude(EFloat first, EFloat second)static EFloatEFloat. MinMagnitude(EFloat first, EFloat second, EContext ctx)EFloatEFloat. Multiply(EFloat otherValue)EFloatEFloat. Multiply(EFloat op, EContext ctx)EFloatEFloat. MultiplyAndAdd(EFloat multiplicand, EFloat augend)EFloatEFloat. MultiplyAndAdd(EFloat op, EFloat augend, EContext ctx)EFloatEFloat. MultiplyAndSubtract(EFloat op, EFloat subtrahend, EContext ctx)EFloatEFloat. NextToward(EFloat otherValue, EContext ctx)static intEFloats. NumberClass(EFloat ed, EContext ec)Finds the number class for an arbitrary-precision binary number object.static EFloatEFloats. Or(EFloat ed1, EFloat ed2, EContext ec)Performs a logical OR operation on two binary numbers in the form of logical operands.EFloatEFloat. Pow(EFloat exponent)EFloatEFloat. Pow(EFloat exponent, EContext ctx)EFloatEFloat. Quantize(EFloat otherValue, EContext ctx)EFloatEFloat. Remainder(EFloat divisor, EContext ctx)EFloatEFloat. RemainderNaturalScale(EFloat divisor)EFloatEFloat. RemainderNaturalScale(EFloat divisor, EContext ctx)EFloatEFloat. RemainderNear(EFloat divisor, EContext ctx)EFloatEFloat. RemainderNoRoundAfterDivide(EFloat divisor, EContext ctx)static EFloatEFloats. 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 EFloatEFloats. Rotate(EFloat ed, EFloat ed2, EContext ec)Rotates the bits of an arbitrary-precision binary number's significand.static booleanEFloats. SameQuantum(EFloat ed1, EFloat ed2)Returns whether two arbitrary-precision numbers have the same exponent, they both are not-a-number (NaN), or they both are infinity (positive and/or negative).static EFloatEFloats. ScaleB(EFloat ed, EFloat ed2, EContext ec)Finds an arbitrary-precision binary number whose binary point is moved a given number of places.static EFloatEFloats. Shift(EFloat ed, EFloat ed2, EContext ec)Shifts the bits of an arbitrary-precision binary floating point number's significand.EFloatEFloat. Subtract(EFloat otherValue)EFloatEFloat. Subtract(EFloat otherValue, EContext ctx)static EFloatEFloats. 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 significand.static EFloatEFloats. Xor(EFloat ed1, EFloat ed2, EContext ec)Performs a logical exclusive-OR (XOR) operation on two binary numbers in the form of logical operands.
-