|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.vecmath.VecMathUtil
class VecMathUtil
Utility vecmath class used when computing the hash code for vecmath objects containing float or double values. This fixes Issue 36.
Constructor Summary | |
---|---|
private |
VecMathUtil()
Do not construct an instance of this class. |
Method Summary | |
---|---|
(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private VecMathUtil()
Method Detail |
---|
static int floatToIntBits(float f)
f
- an input floating-point number
static long doubleToLongBits(double d)
d
- an input double precision floating-point number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |