public enum FpException extends java.lang.Enum<FpException>
Enum Constant and Description |
---|
INEXACT |
NORMAL |
OVERFLOW |
UNDERFLOW |
Modifier and Type | Method and Description |
---|---|
static FpException |
get(java.lang.String name) |
static FpException |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FpException[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FpException NORMAL
public static final FpException OVERFLOW
public static final FpException UNDERFLOW
public static final FpException INEXACT
public static FpException[] values()
for (FpException c : FpException.values()) System.out.println(c);
public static FpException 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 static FpException get(java.lang.String name)