Click or drag to resize
DigitalRuneNumericGetSignificantBitsUnsigned 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.Mathematics
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
[CLSCompliantAttribute(false)]
public static uint GetSignificantBitsUnsigned(
	float value,
	int n
)

Parameters

value
Type: SystemSingle
The floating-point number.
n
Type: SystemInt32
The number of significant bits.

Return Value

Type: UInt32
The n significant bits of value.
See Also