Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GSF
BitMath
CountBitsCleared
GSF.BitMath.CountBitsCleared C# (CSharp) Method
BitMath Class Documentation
Show file
Open project: GridProtectionAlliance/gsf
CountBitsCleared()
public
static
method
Counts the number of bits that are not set
public
static
CountBitsCleared
(
uint
value
) :
int
value
uint
return
int
public static int CountBitsCleared(uint value) { return CountBitsSet(~value); }
Same methods
BitMath::
CountBitsCleared
(
ulong
value
) :
int
BitMath
CountBitsCleared
CountBitsSet
CountLeadingOnes
CountLeadingZeros
CountTrailingOnes
CountTrailingZeros
CreateBitMask
GetClearedBitPositions
GetSetBitPositions
IsPowerOfTwo
RoundDownToNearestPowerOfTwo
RoundUpToNearestPowerOfTwo