signbit#

swordfish.function.signbit()#

Detect the sign bit of the input value.

Parameters:

X (Constant) – A floating-point or integer scalar.

Returns:

true if X is negative, false otherwise.

Return type:

Constant