|
ToolsPreviousPowerOf2 Method
|
Returns the previous power of 2 after the input value x.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static int PreviousPowerOf2(
int x
)
Public Shared Function PreviousPowerOf2 (
x As Integer
) As Integer
Request Example
View SourceParameters
- x
- Type: SystemInt32
Input value x.
Return Value
Type:
Int32Returns the previous power of 2 after the input value x.
See Also