BCDInteger
Arbitrary Max_Precision BCD Integer Arithmetic
Constructors
Properties
Link copied to clipboard
Compare result.
Link copied to clipboard
Compare result.
Link copied to clipboard
Compare result.
Link copied to clipboard
Effectivly needed precision.
Link copied to clipboard
private val INTEGER_VALUES_CAN_NOT_USE_LOGARITHMIC_FUNCTIONS: String = "Integer Values can not use logarithmic functions"
Link copied to clipboard
private val INTEGER_VALUES_CAN_NOT_USE_TRIGONOMETRIC_FUNCTIONS: String = "Integer Values can not use trigonometric functions"
Link copied to clipboard
remainder of last long division
Link copied to clipboard
remainder of last short division
Link copied to clipboard
Max supported precision.
Link copied to clipboard
No digits
Link copied to clipboard
0
Link copied to clipboard
1
Link copied to clipboard
10
Link copied to clipboard
2
Link copied to clipboard
number of digits
Functions
Link copied to clipboard
xy
Link copied to clipboard
unsigned (absolute) addition of one digit
unsigned (absolute) addition
Link copied to clipboard
area hyperbolic cosine: loge (x + √(x-1) × √(x+1))
Link copied to clipboard
area hyperbolic sine: loge (x + √(x² + 1))
Link copied to clipboard
area hyperbolic tangent: loge ((1 + x) ÷ (1 - x)) / 2
Link copied to clipboard
Either convert to a BCDFloat or return this.
Link copied to clipboard
Either convert to a or return this.
Link copied to clipboard
Either convert to a BCDInteger or return this.
Link copied to clipboard
coefficient - while a 18 digits number can also be represented as an long an 18digits multiplication need a 36digits temporary and that is more then a long can do.
Link copied to clipboard
unsigned (absolute) compare
Link copied to clipboard
predicate: Num_Digits > v.numDigits, v = v.Normalize(), v.numDigits > 1
Link copied to clipboard
<>calculate the greatest common denominator using the Euclidean algorithm
Link copied to clipboard
Get valuef or indirect addressing.
Link copied to clipboard
current value is Infinity.
Link copied to clipboard
Current value is integer value.
Link copied to clipboard
Current value us negative
Link copied to clipboard
Link copied to clipboard
get part of number
Link copied to clipboard
unsigned (absolute) multiplication by one digit
unsigned (absolute) multiplication
Link copied to clipboard
returns number of digits
Link copied to clipboard
shift left by n digits (= divide by 10n)
Link copied to clipboard
shift right by n digits (= multiply by 10n)
Link copied to clipboard
²√x
Link copied to clipboard
unsigned (absolute) subtraction
predicate: this > a (or this < a if Num_Digits == a.numDigits and underflow in most significant digit is allowed)
Link copied to clipboard
convert to native/debug string representation
Link copied to clipboard
Convert to integer Do not mix up with Integer – This version returns a Java int!