L_Register

L-Register need addition information to convert in-fix to post-fix. Note that Internally all calculators are UPN calculators.

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Constructors

Link copied to clipboard
constructor()
Assign one L-Register to another one

Properties

Link copied to clipboard
private val Base_N_Decimal: Int = 10
Link copied to clipboard
private val Logger: Logger
Class logger instance.
Link copied to clipboard
Maximum supported Exponent + 1
Link copied to clipboard
Minus 2 for the dot and the negative sign max negative precision.
Link copied to clipboard
private open var Operation: Int
Operation requested after this number was entered.
Link copied to clipboard
Level 7: constant operation stored
Link copied to clipboard
Level 3: Operation division
Link copied to clipboard
Level 6: Equal operation finish all calculations on stack
Link copied to clipboard
Level 4: Operation minus
Link copied to clipboard
Level 3: Operation multiplication
Link copied to clipboard
val Operation_Nop: Int = 0
Level 7: no operation stored
Link copied to clipboard
Level 5: Close operation finish all calculations on stack ()
Link copied to clipboard
Level 0: Operation ) of
Link copied to clipboard
Level 1: Operation Polar to Rectangular
Link copied to clipboard
Level 6: Operation % of
Link copied to clipboard
Level 4: Operation plus
Link copied to clipboard
val Operation_Power: Int = 10
Level 2: Operation Power of
Link copied to clipboard
Level 1: Operation Rectangular to Polar
Link copied to clipboard
val Operation_Root: Int = 11
Level 2: Operation Root of
Link copied to clipboard
private open var Parenthesis: Int
Parenthesis opened before this number was entered - max is 3.
Link copied to clipboard
Minus 1 for the dot gives max positive precision.
Link copied to clipboard
private val Small_Display_Precision: Int = 3
i.E.
Link copied to clipboard
private val TAG: String
Class logger tag.
Link copied to clipboard
private val Ten_Power: Array<Int>
powers of 10 needed to move the decimal point for Format_Engineering.
Link copied to clipboard
private open var Value: Number
Value of the register.

Functions

Link copied to clipboard
open fun Assign(Right: IL_Register)
open fun Assign(Right: L_Register)
Assign one L-Register to another one
Link copied to clipboard
open fun Clear(AC: Boolean)
Clear content of Register
Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun Dec_Parenthesis()
Decrement parenthesis level (+-×÷ ...
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
Format in standard format.
open fun Format(Value: Number): Array<Short>
Format Value in standard format
Link copied to clipboard
open fun Format_Engineering(Value: Number, Offset: Integer): Array<Short>
Format Value in standard format
Link copied to clipboard
open fun Format_Fixed(Value: BCDFloat, Digits: Int): Array<Short>
Format Value in standard format
Link copied to clipboard
Format in printer format
open fun Format_Print(Value: Number): Array<Short>
Format Value in standard format
Link copied to clipboard
open fun Format_Round(Value: Number, Digits: Int): Array<Short>
Format Value in standard format
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun Inc_Parenthesis()
Increment parenthesis level (+-×÷ ...
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun Operation(): Int
Get operation (+-×÷ ...
open fun Operation(Operation: Int)
Set operation (+-×÷ ...
Link copied to clipboard
open fun Parenthesis(): Int
Get parenthesis level (+-×÷ ...
open fun Parenthesis(Parenthesis: Int)
Set parenthesis level (+-×÷ ...
Link copied to clipboard
open fun Set_NaN()
Set value of the register to NaN
Link copied to clipboard
open fun Set_Value(Text: Array<Short>)
Set_Value of the register.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun Value(): Number
Temp_Value of the register.
open fun Value(Value: Number)
Set value of the register.
Link copied to clipboard
fun wait()