NBit Bit Manipulation Library

BitMathExtensions.IsOddParity Method

Computes the parity of a value.

[Visual Basic]
<Extension> _
Public Shared Sub IsOddParity( _
   ByVal value As UInt32 _
)
[C#]
[Extension]
public static bool IsOddParity(
   this uint value
);

Parameters

value
The value to compute the parity of.

Return Value

True if the parity is odd, or false if it is even.

See Also

BitMathExtensions Class | NBit Namespace