Share via


ILogarithmicFunctions<TSelf>.Log2P1(TSelf) 方法

定义

计算值加 1 的以 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

计算以 2 为底的对数之前向其添加的值。

返回

TSelf

log2(x + 1)

适用于