public static enum CLDevice.FpConfig extends Enum<CLDevice.FpConfig> implements ValuedEnum
| Enum Constant and Description |
|---|
CorrectlyRoundedDivideSqrt
Divide and sqrt are correctly rounded as defined by the IEEE754 specification.
|
Denorm
Denorms are supported.
|
FMA
IEEE754-2008 fused multiply- add is supported.
|
InfNan
INF and quiet NaNs are supported.
|
RoundToInf
Round to positive and negative infinity rounding modes supported.
|
RoundToNearest
Round to nearest even rounding mode supported.
|
RoundToZero
Round to zero rounding mode supported.
|
SoftFloat
Basic floating-point operations (such as addition, subtraction, multiplication).
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<CLDevice.FpConfig> |
getEnumSet(long v) |
static long |
getValue(EnumSet<CLDevice.FpConfig> set) |
long |
value() |
static CLDevice.FpConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLDevice.FpConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLDevice.FpConfig Denorm
public static final CLDevice.FpConfig InfNan
public static final CLDevice.FpConfig RoundToNearest
public static final CLDevice.FpConfig RoundToZero
public static final CLDevice.FpConfig RoundToInf
public static final CLDevice.FpConfig FMA
public static final CLDevice.FpConfig CorrectlyRoundedDivideSqrt
public static final CLDevice.FpConfig SoftFloat
public static CLDevice.FpConfig[] values()
for (CLDevice.FpConfig c : CLDevice.FpConfig.values()) System.out.println(c);
public static CLDevice.FpConfig 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 nullpublic long value()
value in interface ValuedEnumpublic static long getValue(EnumSet<CLDevice.FpConfig> set)
public static EnumSet<CLDevice.FpConfig> getEnumSet(long v)
Copyright © 2009-2015. All Rights Reserved.