Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
BooRunner
Tools
Bits
CeilLog2
BooRunner.Tools.Bits.CeilLog2 C# (CSharp) Метод
Документация по классу Bits
Показать файл
Открыть проект
CeilLog2()
публичный
статический
Метод
Ceil(Log2(
x
)).
public
static
CeilLog2
(
uint
x
) :
int
x
uint
Int value.
Результат
int
public static int CeilLog2(uint x) { int msb = Msb(x); if (x != 1U << msb) { ++msb; } return msb; }
Bits
CeilLog2
Msb
Nlz