|
|
|
|
- Bitwise calculation
- Bitwise operator
BitwiseNOT (Function) In french: NONBinaire
Warning
From version 2024, BinaryNOT is kept for backward compatibility. This function has been replaced with BitwiseNOT.
Returns the result of the bitwise logical NOT operation of a value. Reminder: The logical NOT operation is equivalent to the "Complement to one". The logical negation is applied to ALL the bits of the value.
// Retrieve the result of a logical NOT ResBitwiseNOT = BitwiseNOT(6) Â // Returns -7 ResBitwiseNOT = BitwiseNOT(2) Â // Returns -3 Syntax
<Result> = BitwiseNOT(<Value>)
<Result>: Integer Result of the logical NOT operation. <Value>: Integer Value to test. Remarks BitwiseNOT performs the bitwise calculation of <Value> based on the following table: BitwiseNOT is equivalent to the ~ bitwise operator. For more details, see Bitwise operators.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|