Percent_uinclude Ppx_quickcheck_runtime.Quickcheckable.S with type t := tval quickcheck_generator : t Base_quickcheck.Generator.tval quickcheck_observer : t Base_quickcheck.Observer.tval quickcheck_shrinker : t Base_quickcheck.Shrinker.tSerializers
val sexp_of_t : t -> Core.Sexp.t @@ portableval t_of_sexp : Core.Sexp.t -> t @@ portableval to_string : t -> string @@ portableval of_string : string -> t @@ portableinclude Core.Bin_prot.Binable.S__local with type t := tinclude Bin_prot.Binable.S_only_functions__local with type t := tval bin_read_t : t Bin_prot.Read.readerval __bin_read_t__ : t Bin_prot.Read.vtag_readerThis function only needs implementation if t exposed to be a polymorphic variant. Despite what the type reads, this does *not* produce a function after reading; instead it takes the constructor tag (int) before reading and reads the rest of the variant t afterwards.
val bin_shape_t : Bin_prot.Shape.tval bin_writer_t : t Bin_prot.Type_class.writerval bin_reader_t : t Bin_prot.Type_class.readerval bin_t : t Bin_prot.Type_class.tinclude Ppx_hash_lib.Hashable.S_any with type t := tval hash_fold_t : t Ppx_hash_lib.hash_foldval hash : t -> Ppx_hash_lib.Std.Hash.hash_valueval typerep_of_t : t Core.Typerep.t @@ portableval box : t -> Core.Percent.t @@ portableval unbox : Core.Percent.t @ local -> t @@ portablemodule O : sig ... endInfix
include module type of OComparison Infix
Comparison
val is_nan : t -> bool @@ portableConversion
The _approx functions below avoid float division.
val of_bp_int : int -> t @@ portableval of_bp_int_approx : int -> t @@ portableval to_bp_int : t -> int @@ portableMisc
val zero : unit -> t @@ portableval one_hundred_percent : unit -> t @@ portablemodule Option : sig ... endmodule Stable : sig ... end