type t = private Base.Float.t
val compare : t -> t -> Base.Int.tval hash_fold_t : Base.Hash.state -> t -> Base.Hash.stateval hash : t -> Base.Hash.hash_valueval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
include Typerep_lib.Typerepable.S with type t := t
val typerep_of_t : t Typerep_lib.Std_internal.Typerep.tval typename_of_t : t Typerep_lib.Typename.t
include Immediate_option_intf.S_without_immediate_plain with type value := t and type t := t
val none : tval some : t -> tval some_is_representable : t -> Base.Bool.tFor some representations of immediate options, the encodings of
noneandsomeoverlap. For these representations,some_is_representable value = falseifvaluecannot be represented as an option. For example,Int.Optionusesmin_valueto representnone. For other representations,some_is_representablealways returnstrue.
val is_none : t -> Base.Bool.tval is_some : t -> Base.Bool.tval value : t -> default:t -> tvalue (some x) ~default = xandvalue none ~default = default.
val value_exn : t -> tvalue_exn (some x) = x.value_exn noneraises. UnlikeOption.value_exn, there is no?messageargument, so that calls tovalue_exnthat do not raise also do not have to allocate.
val unchecked_value : t -> tunchecked_value (some x) = x.unchecked_value nonereturns an unspecified value.unchecked_value tis intended as an optimization ofvalue_exn twhenis_some tis known to be true.
val to_option : t -> t Base.Option.tval of_option : t Base.Option.t -> t
module Optional_syntax : Optional_syntax.S with type t := t with type value := t