BCDFloat
Constructors
Types
Link copied to clipboard
enum Float_Type
Floating Point Type
- Finite
- Normal Real Number
- NAN
- Not a Number
- Type_Positive_Infinity
- +∞i
- Type_Negative_Infinity
- -∞
Properties
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
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
Maximum supported Exponent + 1
Link copied to clipboard
Max supported precision.
Link copied to clipboard
1 divided by Euler's number (18 digits) Unlike the original BCDFloat from Kai G.
Link copied to clipboard
Loge10 (18 digits) Unlike the original BCDFloat from Kai G.
Link copied to clipboard
-1
Link copied to clipboard
Numeric Type
- Finite
- Normal Real Number
- NaN
- Not a Number
- Type_Positive_Infinity
- +∞dd>
- Type_Negative_Infinity
- -∞
Functions
Link copied to clipboard
xY
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
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
current exponent so that the ratix point is 1 digit to right.
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
Round to Effective and Max_Exponent.
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!