 | MathUtilsLog2 Method |
Returns the base 2 logarithm of the specified number.
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Log2(
float x
)
Public Shared Function Log2 (
x As Single
) As Single
public:
static float Log2(
float x
)
static member Log2 :
x : float32 -> float32
Parameters
- x
- Type: SystemSingle
Number to compute the logarithm of.
Return Value
Type:
SingleBase 2 logarithm of the specified number.
See Also