public enum MathType extends Enum<MathType>
Enum Constant and Description |
---|
IEEE_754
Experimental math precision that uses IEEE-754 arithmetic.
|
INTEGER_64_BITS
The default math precision that uses integer arithmetic with 64 bits numbers.
|
Modifier and Type | Method and Description |
---|---|
static MathType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MathType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MathType INTEGER_64_BITS
public static final MathType IEEE_754
Warning: you should not use this precision in production, because intention of this precision is the testing purpose for backends written in Lua or JS, in other words for testing backends that do not provide 64-bit integer arithmetic.
public static MathType[] values()
for (MathType c : MathType.values()) System.out.println(c);
public static MathType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.