mirror of
https://gitlab.com/scemama/QCaml.git
synced 2024-08-15 01:08:28 +02:00
20 lines
465 B
OCaml
20 lines
465 B
OCaml
(* Type
|
|
*
|
|
* <<<~Non_negative_float.t~>> *)
|
|
|
|
(* [[file:~/QCaml/common/non_negative_float.org::*Type][Type:1]] *)
|
|
type t = private float
|
|
(* Type:1 ends here *)
|
|
|
|
(* Conversions *)
|
|
|
|
|
|
(* [[file:~/QCaml/common/non_negative_float.org::*Conversions][Conversions:1]] *)
|
|
val of_float : float -> t
|
|
val unsafe_of_float : float -> t
|
|
val to_float : t -> float
|
|
|
|
val of_string : string -> t
|
|
val to_string : t -> string
|
|
(* Conversions:1 ends here *)
|