3 ms·
Sure they do, in most C-like languages || is OR and && is AND. For OR, from 1 | 0 = 1 It's a small step to generalise to N | 0 = N (~max) and then N | N-1
by de_Selby 8y ago
Sure they do, in most C-like languages || is OR and && is AND.
For OR, from
1 | 0 = 1
It's a small step to generalise to
N | 0 = N (~max)
and then
N | N-1 = N (max)
The same goes for &