WLJS LogoWLJS Notebook

BitAnd

BitAnd[n1, n2, ...] gives the bitwise AND of the integers ni.

Examples

Bitwise AND of two integers:

BitAnd[5, 3]
(* 1 *)

Multiple operands:

BitAnd[15, 7, 3]
(* 3 *)

Please visit the official Wolfram Language Reference for more details.

On this page