Arbitrary precision floating point numbers for exact numeric computations for when performance is not an issue.
More...
|
| | BigFloat (BigInteger nominator, BigInteger denominator) |
| | Creates a new BigFloat from fractional values.
|
| |
| BigFloat | Normalize () |
| | Normalizes the fraction by dividing by greates common divisor.
|
| |
| override string | ToString () |
| | Converts the fraction to a decimal string.
|
| |
| bool | Equals (BigFloat other) |
| | Compares two numbers.
|
| |
| override bool | Equals (object obj) |
| | Compares this bigfloat with another object.
|
| |
| override int | GetHashCode () |
| | Gets the hash code of this value.
|
| |
| int | CompareTo (BigFloat other) |
| | Compares two numbers.
|
| |
| int | CompareTo (object obj) |
| | Converts obj before doing comparison using CompareTo. Throws an exception if obj cannot be compared to a BigFloat.
|
| |
| string | ToString (string format, IFormatProvider formatProvider) |
| | Converts this value to a string.
|
| |
| | BigFloat (double value) |
| | Creates a BigFloat.
|
| |
|
|
static readonly BigFloat | Zero = new(BigInteger.Zero, BigInteger.One) |
| | Big float 0.
|
| |
|
static readonly BigFloat | Infinity = new(BigInteger.One, BigInteger.Zero) |
| | Big float Infinity.
|
| |
|
static readonly BigFloat | NegativeInfinity = new(BigInteger.MinusOne, BigInteger.Zero) |
| | Big float negative infinity.
|
| |
|
static readonly BigFloat | NaN = new(BigInteger.Zero, BigInteger.Zero) |
| | Big float not a number.
|
| |
|
static readonly BigFloat | One = new(BigInteger.One, BigInteger.One) |
| | Big float 1.
|
| |
|
static readonly BigFloat | NegativeOne = new(BigInteger.MinusOne, BigInteger.One) |
| | Big float -1.
|
| |
|
static readonly BigFloat | Half = new(BigInteger.One, 2) |
| | Big float 0.5.
|
| |
Arbitrary precision floating point numbers for exact numeric computations for when performance is not an issue.