Decomposed
Create a decomposed double from an BCD floating point byte array. Note that the Java designers in there great wisdom defined a byte as -128..128 - while in 99% of all cases one need 0..255. Hence we use a int array to pass bytes. As an Ada advocate this mistreatment of datatypes gives me pimples.
Parameters
Bytes
Text containing a value
constructor(Mantissa: Long, Mantissa_Negative: Boolean, Mantissa_Digits: Short, Exponent: Short, Exponent_Negative: Boolean)
Create a decomposed double from it's components
Parameters
Mantissa
Mantissa (Normalized to : x.xxxxxxxx)
Mantissa_Negative
True is the Coefficient is negative.
Mantissa_Digits
Mantissa Digits.
Exponent
Exponent to the power of ten
Exponent_Negative
True is the Exponent is negative.
Create a decomposed BCDFloat from a normal BCDFloat
Parameters
Value
Value as BCDFloat
Digits
Round at digits
Create a decomposed double from a normal double
Parameters
Text
Text containing a value
Throws
can't decompose