2020-12-27 23:08:12 +01:00
|
|
|
(* Type *)
|
|
|
|
|
|
|
|
|
2020-12-28 01:55:03 +01:00
|
|
|
(* [[file:~/QCaml/common/non_negative_float.org::*Type][Type:1]] *)
|
2018-02-23 18:44:31 +01:00
|
|
|
type t = private float
|
2020-12-27 23:08:12 +01:00
|
|
|
(* Type:1 ends here *)
|
|
|
|
|
|
|
|
(* Conversions *)
|
|
|
|
|
|
|
|
|
2020-12-28 01:55:03 +01:00
|
|
|
(* [[file:~/QCaml/common/non_negative_float.org::*Conversions][Conversions:1]] *)
|
2020-12-27 23:08:12 +01:00
|
|
|
val of_float : float -> t
|
2018-06-13 19:03:42 +02:00
|
|
|
val unsafe_of_float : float -> t
|
2020-12-27 23:08:12 +01:00
|
|
|
val to_float : t -> float
|
|
|
|
|
|
|
|
val of_string : string -> t
|
|
|
|
val to_string : t -> string
|
|
|
|
(* Conversions:1 ends here *)
|