is_any_bits_set(i1, i2)
Return true if the bitwise and of the integers i1 and i2 is different from zero, otherwise return false.
true
i1
i2
false
is_any_bits_set(0b0010, 0b1110) // true is_any_bits_set(0b0010, 0b1100) // false
Core Module Index | Contents