DoubleDouble Conversion (Double to DoubleDouble) |
Converts a double value to a double double value.
Namespace:
Meta.Numerics.Extended
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static implicit operator DoubleDouble (
double x
)
Public Shared Widening Operator CType (
x As Double
) As DoubleDouble
static implicit operator DoubleDouble (
double x
)
F# does not support the declaration of new casting operators.
Parameters
- x
- Type: SystemDouble
The value to be converted.
Return Value
Type:
DoubleDoubleThe double double value equal to the original
Double value.
Remarks This cast preserves the value of the Double (as can be verified
by round-tripping), but keep in mind that that value may only be an approximation of less
than the desired precision.
See Also