Method IsNegative
IsNegative(float)
Determines whether the specified floating-point number is negative.
public static bool IsNegative(float f)
Parameters
ffloatThe floating-point number to evaluate.
Returns
Remarks
This method evaluates the sign bit of the floating-point number to determine its negativity. It does not consider special cases such as negative zero, which is treated as negative.