public final class SMFSupportedSizes extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
checkFloatSupported(int bits)
Check if a floating point type with the given size is supported.
|
static int |
checkIntegerSignedSupported(int bits)
Check if a signed integer type with the given size is supported.
|
static int |
checkIntegerUnsignedSupported(int bits)
Check if an unsigned integer type with the given size is supported.
|
static boolean |
isFloatSupported(int bits) |
static boolean |
isIntegerSignedSupported(int bits) |
static boolean |
isIntegerUnsignedSupported(int bits) |
public static boolean isIntegerUnsignedSupported(int bits)
bits - The size in bitstrue if an unsigned integer type with the given size is
supportedpublic static int checkIntegerUnsignedSupported(int bits)
throws UnsupportedOperationException
bits - The size in bitsbitsUnsupportedOperationException - If the size is not supportedpublic static boolean isIntegerSignedSupported(int bits)
bits - The size in bitstrue if a signed integer type with the given size is
supportedpublic static int checkIntegerSignedSupported(int bits)
throws UnsupportedOperationException
bits - The size in bitsbitsUnsupportedOperationException - If the size is not supportedpublic static boolean isFloatSupported(int bits)
bits - The size in bitstrue if a floating point type with the given size is
supportedpublic static int checkFloatSupported(int bits)
throws UnsupportedOperationException
bits - The size in bitsbitsUnsupportedOperationException - If the size is not supportedCopyright © 2017 <code@io7m.com> http://io7m.com