BitGet
BitGet[n, k] gets the bit corresponding to the coefficient of in the integer n.
Examples
BitGet[5, 2]
(* 1 *)Please visit the official Wolfram Language Reference for more details.
BitGet[n, k] gets the bit corresponding to the coefficient of 2k in the integer n.
BitGet[5, 2]
(* 1 *)Please visit the official Wolfram Language Reference for more details.