class VecMathUtil
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
VecMathUtil()
Do not construct an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static long |
doubleToLongBits(double d)
Returns the representation of the specified floating-point
value according to the IEEE 754 floating-point "double format"
bit layout, after first mapping -0.0 to 0.0.
|
(package private) static int |
floatToIntBits(float f)
Returns the representation of the specified floating-point
value according to the IEEE 754 floating-point "single format"
bit layout, after first mapping -0.0 to 0.0.
|
static int floatToIntBits(float f)
f - an input floating-point numberstatic long doubleToLongBits(double d)
d - an input double precision floating-point numberCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.