public final class NumberUtils extends Object
Constructor and Description |
---|
NumberUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
doubleToLongBits(double value) |
static int |
floatToIntBits(float value) |
static int |
floatToIntColor(float value) |
static int |
floatToRawIntBits(float value) |
static float |
intBitsToFloat(int value) |
static float |
intToFloatColor(int value)
Encodes the ABGR int color as a float.
|
static double |
longBitsToDouble(long value) |
public static int floatToIntBits(float value)
public static int floatToRawIntBits(float value)
public static int floatToIntColor(float value)
public static float intToFloatColor(int value)
Float.intBitsToFloat(int)
javadocs.public static float intBitsToFloat(int value)
public static long doubleToLongBits(double value)
public static double longBitsToDouble(long value)
Copyright © 2014. All rights reserved.