IBinaryNumber<TSelf>.Log2(TSelf) 方法

定义

计算值的 log2。

public:
 static TSelf Log2(TSelf value);
public static abstract TSelf Log2 (TSelf value);
static member Log2 : 'Self -> 'Self
Public Shared Function Log2 (value As TSelf) As TSelf

参数

value
TSelf

要计算其 log2 的值。

返回

TSelf

valuelog2。

适用于