This website requires JavaScript.
Explore
Help
Sign In
fabs
/
oboy
Watch
1
Star
0
Fork
You've already forked oboy
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
644a1356a8
oboy
/
src
/
bit.ml
5 lines
101 B
OCaml
Raw
Blame
History
let
is_set
num
i
=
if
i
<
0
then
failwith
"
Invalid bit index.
"
(
num
lsr
i
)
land
0b00000001
<
>
0
Reference in New Issue
View Git Blame
Copy Permalink