Converts a
BigRational to a double-precision floating-point number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static explicit operator double (
BigRational value
)
Public Shared Narrowing Operator CType (
value As BigRational
) As Double
static explicit operator double (
BigRational value
)
F# does not support the declaration of new casting operators.
Parameters
- value
- Type: Extreme.MathematicsBigRational
The BigRational to convert.
Return Value
Type:
DoubleA
Double with the same value as
value.
If
value is smaller than
MinValue,
NegativeInfinity is returned.
If
value is larger than
MaxValue,
PositiveInfinity is returned.
This method never throws an exception.
Reference