Decomposed

class Decomposed

Normalize and decompose a BCDFloat for further formatting

Constructors

Link copied to clipboard
constructor(Bytes: Array<Int>)
Create a decomposed double from an BCD floating point byte array.
constructor(Mantissa: Long, Mantissa_Negative: Boolean, Mantissa_Digits: Short, Exponent: Short, Exponent_Negative: Boolean)
Create a decomposed double from it's components
constructor(Value: Number, Digits: Int)
Create a decomposed BCDFloat from a normal BCDFloat
constructor(Text: Array<Short>)
Create a decomposed double from a normal double

Properties

Link copied to clipboard
private val Composed_String_Length: Int = 16
Link copied to clipboard
Mode_Exponent.
Link copied to clipboard
True is the Mode_Exponent is negative.
Link copied to clipboard
val L_Exponent: Int = 99
Exponent if an L Register
Link copied to clipboard
val L_Precision: Int = 12
Precision of an L Register
Link copied to clipboard
private val Logger: Logger
Class logger instance.
Link copied to clipboard
val M_Precision: Int = 10
Precision of an M Register
Link copied to clipboard
Mantissa (Normalised to : x.
Link copied to clipboard
Mantissa Digits.
Link copied to clipboard
True is the Coefficient is negative.
Link copied to clipboard
private val Mask_High_Nibble: Int = 240
Link copied to clipboard
private val Mask_Low_Nibble: Int = 15
Link copied to clipboard
private val Negative_Bit: Int = 16
Link copied to clipboard
private val Nibble_Multiplier: Int = 16
Link copied to clipboard
private val TAG: String
Class logger tag.

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
fun Compose(): Number
Recompose a double from the given data.
Link copied to clipboard
Compose an BCD floating point suitable for saving.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
private open fun From_BCD(Value: Int): Long
create a BCD digits for 2 least significant digits of Value
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
private open fun Too_BCD(Value: Long): Int
create a BCD digits for 2 least significant digits of Value
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun Trace()
Trace current value
Link copied to clipboard
fun wait()