WLJS LogoWLJS Notebook

BitGet

BitGet[n, k] gets the bit corresponding to the coefficient of 2k2^k in the integer n.

Examples

BitGet[5, 2]
(* 1 *)

Please visit the official Wolfram Language Reference for more details.

On this page