Uses of Class
org.episteme.core.mathematics.context.MathContext
Packages that use MathContext
-
Uses of MathContext in org.episteme.core.mathematics.context
Methods in org.episteme.core.mathematics.context that return MathContextModifier and TypeMethodDescriptionstatic MathContextMathContext.exact()Creates an exact computation context (BigDecimal).static MathContextMathContext.fast()Creates a fast computation context (float precision).static MathContextMathContext.getCurrent()Returns the current thread-local context.static MathContextMathContext.normal()Creates a normal computation context (double precision).static MathContextMathContext.unsafe()Creates an unsafe context (no overflow checking).MathContext.withComputeMode(ComputeMode computeMode) Returns a new context with the specified compute mode.MathContext.withJavaMathContext(MathContext javaMathContext) Returns a new context with the specified java.math.MathContext.MathContext.withOverflowMode(MathContext.OverflowMode overflowMode) Returns a new context with the specified overflow mode.static MathContextMathContext.withPrecision(int precision) Returns a new context with the specified precision (EXACT mode).static MathContextMathContext.withPrecision(int precision, RoundingMode rm) Returns a new context with the specified precision and rounding mode (EXACT mode).MathContext.withRealPrecision(MathContext.RealPrecision realPrecision) Returns a new context with the specified real precision.Methods in org.episteme.core.mathematics.context with parameters of type MathContextModifier and TypeMethodDescriptionstatic voidMathContext.setCurrent(MathContext context) Sets the current thread-local context.