WLJS LogoWLJS Notebook

BitNot

BitNot[n] gives the bitwise NOT of the integer n.

Examples

Bitwise NOT:

BitNot[5]
(* -6 *)
BitNot[0]
(* -1 *)

Please visit the official Wolfram Language Reference for more details.

On this page