binary_not()
Learn how to use the binary_not() function to return a bitwise negation of the input value.
Returns a bitwise negation of the input value.
Syntax
binary_not(value)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| value | long | ✔️ | The value to negate. |
Returns
Returns logical NOT operation on a number: value.
Example
binary_not(100)
Output
| result |
|---|
| -101 |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.