Click or drag to resize
DigitalRuneMathHelperLog2LessOrEqual Method
Returns the largest non-negative integer x such that 2xvalue.

Namespace: DigitalRune.Mathematics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
[CLSCompliantAttribute(false)]
public static uint Log2LessOrEqual(
	uint value
)

Parameters

value
Type: SystemUInt32
The value.

Return Value

Type: UInt32
The largest non-negative integer x such that 2xvalue. Exception: If value is 0 then 0 is returned.
See Also