signbit
Overloads
| Name | Description |
|---|---|
signbit(integer p) -> bool | Checks if the sign bit of the given value is set (negative). |
signbit(real p) -> bool | Checks if the sign bit of the given value is set (negative). |
signbit(bool p) -> bool | Checks 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.