BCDFraction
Decimal_Fraction Arithmetic.
For the use in an FX-603P Simulator the precision is fixed at 14 decimal digits.
Constructors
Properties
Link copied to clipboard
e approximation used for unit tests
Link copied to clipboard
π approximation used for unit tests
Link copied to clipboard
Compare result.
Link copied to clipboard
Compare result.
Link copied to clipboard
Compare result.
Link copied to clipboard
The Denominator: Whole + Numerator / Denominator
Link copied to clipboard
Effectivly needed precision.
Link copied to clipboard
Max supported precision.
Link copied to clipboard
0
Link copied to clipboard
1
Link copied to clipboard
180
Link copied to clipboard
2
Link copied to clipboard
200
Link copied to clipboard
The Numerator: Numerator / Denominator
Functions
Link copied to clipboard
xy
Link copied to clipboard
Fraktur represented as «a b/c»
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
Fraktur represented as «a b/c»
Link copied to clipboard
Fraktur represented as «a b/c» or «d/c»
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
Fraktur represented as «d/c».
Link copied to clipboard
Get valuef or indirect addressing.
Link copied to clipboard
current value is Infinity (but not N/A).
Link copied to clipboard
Current value is integer value.
Link copied to clipboard
Current value us negative
Link copied to clipboard
the current number of digits - not that when the number is not normalised there might be more 0's in the number then strictly needed.
Link copied to clipboard
2√x
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!