Enum Constant and Description |
---|
FLOAT128 |
FLOAT16 |
FLOAT32 |
FLOAT64 |
FLOAT80 |
Modifier and Type | Method and Description |
---|---|
static Precision |
find(int fractionSize,
int exponentSize) |
int |
getExponentSize() |
int |
getFractionSize() |
abstract ru.ispras.microtesk.model.data.floatx.Operations |
getOperations() |
int |
getSize() |
java.lang.String |
getText() |
static Precision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Precision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Precision FLOAT16
public static final Precision FLOAT32
public static final Precision FLOAT64
public static final Precision FLOAT80
public static final Precision FLOAT128
public static Precision[] values()
for (Precision c : Precision.values()) System.out.println(c);
public static Precision valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getFractionSize()
public final int getExponentSize()
public final int getSize()
public final java.lang.String getText()
public abstract ru.ispras.microtesk.model.data.floatx.Operations getOperations()
public static Precision find(int fractionSize, int exponentSize)