Debian Codegraph @

ocaml-lib/num_impl_zarith/rational_impl.ml

raw
1 module QI = struct
2 include Q
3 let floor x = Z.fdiv (num x) (den x)
4 let ceiling x = Z.cdiv (num x) (den x)
5 let of_big_int = of_bigint
6 end