Skip to main content

signbit

Overloads​

NameDescription
signbit(integer p) -> boolChecks if the sign bit of the given value is set (negative).
signbit(real p) -> boolChecks if the sign bit of the given value is set (negative).
signbit(bool p) -> boolChecks if the sign bit of the given value is set (negative).

signbit(integer p) -> bool​

Checks if the sign bit of the given value is set (negative).

Parameters​

  • p: The value to check the sign bit for.

signbit(real p) -> bool​

Checks if the sign bit of the given value is set (negative).

Parameters​

  • p: The value to check the sign bit for.

signbit(bool p) -> bool​

Checks if the sign bit of the given value is set (negative).

Parameters​

  • p: The value to check the sign bit for.