|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.math.SplitDouble
public class SplitDouble
Splits a double into a normalized base two mantissa and exponent..
A double value is split into a normalized mantissa in the range 0.5 to 1.0, and a corresponding base 2 exponent.
Field Summary | |
---|---|
int |
exponent
The base two exponent. |
double |
mantissa
The normalized mantissa. |
Constructor Summary | |
---|---|
SplitDouble(double d)
Create SplitDouble object. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double mantissa
public int exponent
Constructor Detail |
---|
public SplitDouble(double d)
d
- The double to split.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |