10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 12:56:14 +01:00
quantum_package/ocaml/Charge.mli

14 lines
292 B
OCaml
Raw Normal View History

2017-08-18 18:28:33 +02:00
type t = float [@@deriving sexp]
2014-10-07 19:33:11 +02:00
(** Float conversion functions *)
2014-10-07 19:33:11 +02:00
val to_float : t -> float
val of_float : float -> t
(** Int conversion functions *)
val to_int : t -> int
2014-10-07 19:33:11 +02:00
val of_int : int -> t
(** String conversion functions *)
val to_string: t -> string
2014-10-07 19:33:11 +02:00
val of_string: string -> t