5 lines
67 B
OCaml
5 lines
67 B
OCaml
let is_even d =
|
|
(d land 1) = 0
|
|
|
|
let is_odd d =
|
|
(d land 1) <> 0
|