public class HParam extends Object
If you need full Java accuracy, set setFastMath(False).
| Constructor and Description |
|---|
HParam() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isFastMath()
Check is fast math calculation enabled.
|
static void |
setExactMath()
Set exact math calculation using Java Math.
|
static void |
setFastMath()
Set fast math calculation (4-5 times faster than Java Math).
|
static void |
setFastMath(boolean fast)
Set fast math calculation (3-5 times faster than Java Math).
|
public static void setFastMath(boolean fast)
fast - if false, all elementary functions are calculated with the standard Java Math precision. If true, fast calculation with the jafama FastJava E-11 precision.public static boolean isFastMath()
public static void setFastMath()
public static void setExactMath()
DMelt 2.0 © DataMelt by jWork.ORG