Source file floatable.ml

1
2
3
4
5
6
7
8
9
10
(** Module type with float conversion functions. *)

open! Import

module type S = sig
  type t

  val of_float : float -> t
  val to_float : t -> float
end