Click or drag to resize
Accord.NET (logo)

ToolsLog2 Method

Get base of binary logarithm.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static int Log2(
	int x
)
Request Example View Source

Parameters

x
Type: SystemInt32
Source integer number.

Return Value

Type: Int32
Power of the number (base of binary logarithm).
See Also