Maven module :un.api : api-common :
Class :
un.api.number.Float64
Extends/Implements :
un.api.number.Number
Subclasses : -
Variables :
MASK_FRACTION,
MASK_EXPONENT,
MASK_SIGN,
FRACTION_SIZE,
EXPONENT_SIZE,
EXP_BIAS
Functions :
decompose,
decompose,
encode,
decode,
decode,
decode,
add,
subtract,
mult,
divide,
zero,
isZero,
one,
isOne,
pow,
toInteger,
toLong,
toFloat,
toDouble
public long
MASK_FRACTION
public long
MASK_EXPONENT
public long
MASK_SIGN
public int
FRACTION_SIZE
public int
EXPONENT_SIZE
public int
EXP_BIAS
public IEEE754
decompose (double value)
public IEEE754
decompose (double value, IEEE754 buffer)
public Chars
encode (double candidate)
public double
decode (Chars candidate)
public double
decode (Chars candidate, int fromIndex, int toIndex)
public double
decode (CharIterator ite, boolean strict)
public Arithmetic
add (Arithmetic other)
public Arithmetic
subtract (Arithmetic other)
public Arithmetic
mult (Arithmetic other)
public Arithmetic
divide (Arithmetic other)
public Arithmetic
zero ()
public boolean
isZero ()
public Arithmetic
one ()
public boolean
isOne ()
public Arithmetic
pow (int n)
public int
toInteger ()
public long
toLong ()
public float
toFloat ()
public double
toDouble ()
Encoded in IEEE754
http://en.wikipedia.org/wiki/Double-precision_floating-point_format
author Johann Sorel