BitNot
BitNot( value )
BitNot( value )
bitnot( value )
BitNot( value )
Description
The BitNot
function returns the
Two’s Complement of a
number. The argument must be a number, and fractional values are
truncated before the operation is applied.
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
Number |
A single value to take the two’s complement. |
Examples
The following query executes an array of independent bitwise NOT operations and returns results in the result array. The result array position matches the position in the execution array.
[-1 -2 -8]
[ -1, -2, -8 ]
[-1, -2, -8]
[ -1, -2, -8 ]
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!