Uses of Class
com.upokecenter.numbers.ERounding
-
-
Uses of ERounding in com.upokecenter.numbers
Methods in com.upokecenter.numbers that return ERounding Modifier and Type Method Description ERoundingEContext. getRounding()Gets the desired rounding mode when converting numbers that can't be represented in the given precision and exponent range.static ERoundingERounding. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ERounding[]ERounding. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.upokecenter.numbers with parameters of type ERounding Modifier and Type Method Description EDecimalEDecimal. DivideToExponent(EDecimal divisor, int desiredExponentInt, ERounding rounding)EDecimalEDecimal. DivideToExponent(EDecimal divisor, long desiredExponentSmall, ERounding rounding)EDecimalEDecimal. DivideToExponent(EDecimal divisor, EInteger desiredExponent, ERounding rounding)EFloatEFloat. DivideToExponent(EFloat divisor, long desiredExponentSmall, ERounding rounding)EFloatEFloat. DivideToExponent(EFloat divisor, EInteger desiredExponent, ERounding rounding)EDecimalEDecimal. DivideToSameExponent(EDecimal divisor, ERounding rounding)EFloatEFloat. DivideToSameExponent(EFloat divisor, ERounding rounding)static EContextEContext. ForPrecisionAndRounding(int precision, ERounding rounding)Creates a new EContext object initialized with an unlimited exponent range, and the given rounding mode and maximum precision.static EContextEContext. ForRounding(ERounding rounding)Creates a new EContext object initialized with an unlimited precision, an unlimited exponent range, and the given rounding mode.EDecimalEDecimal. Quantize(int desiredExponentInt, ERounding rounding)EDecimalEDecimal. RoundToExponent(int exponentSmall, ERounding rounding)EDecimalEDecimal. RoundToExponent(EInteger exponent, ERounding rounding)EDecimalEDecimal. RoundToExponentExact(int exponentSmall, ERounding rounding)EFloatEFloat. RoundToExponentExact(EInteger exponent, ERounding rounding)EContextEContext. WithRounding(ERounding rounding)Copies this EContext with the specified rounding mode.Constructors in com.upokecenter.numbers with parameters of type ERounding Constructor Description EContext(int precision, ERounding rounding, int exponentMinSmall, int exponentMaxSmall, boolean clampNormalExponents)Initializes a new instance of theEContextclass.EContext(EInteger bigintPrecision, ERounding rounding, EInteger exponentMin, EInteger exponentMax, boolean clampNormalExponents)Initializes a new instance of theEContextclass, .
-