Skip to content

Int32Extensions.SignBit Method

Definition

Gets the sign bit (bit 31) of an int.

public static bool SignBit(this int value);

View source

Parameters

Name Type Description
value Int32

Returns

Boolean

true if the sign bit is set; false otherwise.