| NumericGetSignificantBitsUnsigned Method |
Gets the significant bits of a floating-point number, which can be used for rough
comparisons or sorting. (The floating-point number must be positive.)
Namespace: DigitalRune.MathematicsAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax [CLSCompliantAttribute(false)]
public static uint GetSignificantBitsUnsigned(
float value,
int n
)
<CLSCompliantAttribute(false)>
Public Shared Function GetSignificantBitsUnsigned (
value As Single,
n As Integer
) As UInteger
public:
[CLSCompliantAttribute(false)]
static unsigned int GetSignificantBitsUnsigned(
float value,
int n
)
[<CLSCompliantAttribute(false)>]
static member GetSignificantBitsUnsigned :
value : float32 *
n : int -> uint32
Parameters
- value
- Type: SystemSingle
The floating-point number. - n
- Type: SystemInt32
The number of significant bits.
Return Value
Type:
UInt32The
n significant bits of
value.
See Also