FlexReport for WPF
log2 メソッド


C1.WPF.Document.4.6.2 アセンブリ > GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.util 名前空間 > MathUtil クラス : log2 メソッド
The value to calculate log2 on.
Method that calculates the floor of the log, base 2, of 'x'. The calculation is performed in integer arithmetic, therefore, it is exact.
シンタックス
'宣言
 
Public Shared Function log2( _
   ByVal x As System.Integer _
) As System.Integer
'使用法
 
Dim x As System.Integer
Dim value As System.Integer
 
value = MathUtil.log2(x)
public static System.int log2( 
   System.int x
)

パラメータ

x
The value to calculate log2 on.

戻り値の型

floor(log(x)/log(2)), calculated in an exact way.
参照

MathUtil クラス
MathUtil メンバ