public final class FloatBits
extends java.lang.Object
| Constructor and Description |
|---|
FloatBits(float minValue,
float maxValue,
int bits) |
| Modifier and Type | Method and Description |
|---|---|
float |
fromBits(long bits) |
int |
getBitSize() |
float |
getFloatResolution()
Returns the smallest possible difference between two floating
point values for this FloatBits configuration.
|
long |
getMask() |
float |
getMaxValue() |
float |
getMinValue() |
static void |
main(java.lang.String... args) |
long |
toBits(float value) |
public float getMinValue()
public float getMaxValue()
public int getBitSize()
public long getMask()
public float getFloatResolution()
public long toBits(float value)
public float fromBits(long bits)
public static void main(java.lang.String... args)