public final class MathContextGuard extends Object
| Modifier and Type | Method and Description |
|---|---|
static MathContext |
getSafeContext(MathContext mathContext)
Get a safe to use MathContext for certain big-math operations which do not support unlimited precision.
|
static void |
setSafeContext(MathContext mathContext)
Change the safe MathContext
|
public static MathContext getSafeContext(MathContext mathContext)
mathContext - MathContext to validatepublic static void setSafeContext(MathContext mathContext)
mathContext - The new safe MathContextCopyright © 2019. All rights reserved.