C# Class Tsukikage.Util.BinaryUtil.NumberOfLeadingZeros

ファイルを表示 Open project: ttsuki/ttsuki

Public Methods

Method Description
GetNumberOfLeadingZeros ( uint n ) : int
GetPopulationCount ( ulong n ) : int

Method Details

GetNumberOfLeadingZeros() public static method

public static GetNumberOfLeadingZeros ( uint n ) : int
n uint
return int

GetPopulationCount() public static method

public static GetPopulationCount ( ulong n ) : int
n ulong
return int