语言

ILogarithmicFunctions<TSelf>.Log2P1(TSelf) 方法

定义

计算值加 1 的 base-2 对数。

public:
 static override TSelf Log2P1(TSelf x);
public static virtual TSelf Log2P1(TSelf x);
static member Log2P1 : 'Self -> 'Self
Public Shared Overrides Function Log2P1 (x As TSelf) As TSelf

参数

x
TSelf

计算 base-2 对数之前添加的值。

返回

TSelf

log2(x + 1)

适用于