Module Core_kernel.Float_with_finite_only_serialization

An alias to the Float.t type that causes the sexp and bin-io serializers to fail when provided with nan or infinity.

Note that, while it makes sense to use this on the definition of a type in the ml file, where it will influence the construction of the sexp and bin-io serialziers, it does NOT make sense to use this in an mli, since it makes no guarantee at that level.

type t = Core_kernel__.Import.float
include sig ... end
val compare : t ‑> t ‑> Core_kernel__.Import.int
val t_of_sexp : Sexplib.Sexp.t ‑> t
val sexp_of_t : t ‑> Sexplib.Sexp.t
val bin_read_t : t Bin_prot.Read.reader
val __bin_read_t__ : (Core_kernel__.Import.int ‑> t) Bin_prot.Read.reader
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write.writer
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_shape_t : Bin_prot.Shape.t
module Stable : sig ... end