Converts a
BigFloat to a single-precision floating-point number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static explicit operator float (
BigFloat value
)
Public Shared Narrowing Operator CType (
value As BigFloat
) As Single
static explicit operator float (
BigFloat^ value
)
F# does not support the declaration of new casting operators.
Parameters
- value
- Type: Extreme.MathematicsBigFloat
The BigFloat to convert.
Return Value
Type:
SingleA
Single 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