| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static float | |
| public static float | |
| public static double |
| NumberUtils | back to summary |
|---|---|
| public NumberUtils() | |
| doubleToLongBits | back to summary |
|---|---|
| public static long doubleToLongBits(double value) | |
| floatToIntBits | back to summary |
|---|---|
| public static int floatToIntBits(float value) | |
| floatToIntColor | back to summary |
|---|---|
| public static int floatToIntColor(float value) Converts the color from a float ABGR encoding to an int ABGR encoding. The alpha is expanded from 0-254 in the float
encoding (see | |
| floatToRawIntBits | back to summary |
|---|---|
| public static int floatToRawIntBits(float value) | |
| intBitsToFloat | back to summary |
|---|---|
| public static float intBitsToFloat(int value) | |
| intToFloatColor | back to summary |
|---|---|
| public static float intToFloatColor(int value) Encodes the ABGR int color as a float. The alpha is compressed to use only even numbers between 0-254 to avoid using bits
in the NaN range (see | |
| longBitsToDouble | back to summary |
|---|---|
| public static double longBitsToDouble(long value) | |