Maven module :un.api : api-common :
Class : un.api.number.Float16
Extends/Implements : un.api.number.Number
Subclasses : -

16bit decimal, called half.
Encoded in IEEE754
http://en.wikipedia.org/wiki/Half-precision_floating-point_format
author  Johann Sorel


Variables : MASK_FRACTION, MASK_EXPONENT, MASK_SIGN, FRACTION_SIZE, EXPONENT_SIZE, EXP_BIAS
Functions : decompose, decompose, compose, add, subtract, mult, divide, zero, isZero, one, isOne, pow, toInteger, toLong, toFloat, toDouble


public int MASK_FRACTION

public int MASK_EXPONENT

public int MASK_SIGN

public int FRACTION_SIZE

public int EXPONENT_SIZE

public int EXP_BIAS


public IEEE754 decompose (int value)

public IEEE754 decompose (int value, IEEE754 buffer)

public float compose (IEEE754 ieee)

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 ()