Module Standalone.Bigint_scalar
Parameters
Signature
val pack : bool list -> Bigint.tinclude module type of struct include Bigint end
val t_sexp_grammar : Base__.Ppx_sexp_conv_lib.Sexp.Private.Raw_grammar.tval of_float : float -> tval to_float : t -> floatval of_int_exn : int -> tval to_int_exn : t -> inttype comparator_witness = Bigint.comparator_witnessval validate_positive : t Base__.Validate.checkval validate_non_negative : t Base__.Validate.checkval validate_negative : t Base__.Validate.checkval validate_non_positive : t Base__.Validate.checkval is_positive : t -> boolval is_non_negative : t -> boolval is_negative : t -> boolval is_non_positive : t -> boolval sign : t -> Base__.Sign0.tval invariant : t Base__Invariant_intf.invval to_string_hum : ?delimiter:char -> t -> stringval (//) : t -> t -> floatval (lsl) : t -> int -> tval (asr) : t -> int -> tval round :
?dir:[ `Down | `Nearest | `Up | `Zero ] ->
t ->
to_multiple_of:t ->
tval round_towards_zero : t -> to_multiple_of:t -> tval round_down : t -> to_multiple_of:t -> tval round_up : t -> to_multiple_of:t -> tval round_nearest : t -> to_multiple_of:t -> tval bit_and : t -> t -> tval bit_xor : t -> t -> tval shift_left : t -> int -> tval shift_right : t -> int -> tval decr : t Base__.Import.ref -> unitval incr : t Base__.Import.ref -> unitval of_int32_exn : int32 -> tval to_int32_exn : t -> int32val of_int64_exn : int64 -> tval of_nativeint_exn : nativeint -> tval to_nativeint_exn : t -> nativeintval of_float_unchecked : float -> tval typerep_of_t : t Typerep_lib.Std_internal.Typerep.tval typename_of_t : t Typerep_lib.Typename.tval bin_shape_t : Bin_prot.Shape.tval t_of_sexp : Sexplib0__.Sexp.t -> tval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval of_string : string -> tval to_string : t -> stringval pp : Base__.Formatter.t -> t -> unitval (>=) : t -> t -> boolval (<=) : t -> t -> boolval (<>) : t -> t -> boolval equal : t -> t -> boolval compare : t -> t -> intval ascending : t -> t -> intval descending : t -> t -> intval between : t -> low:t -> high:t -> boolval clamp_exn : t -> min:t -> max:t -> tval clamp : t -> min:t -> max:t -> t Base__.Or_error.tval validate_lbound : min:t Base__.Maybe_bound.t -> t Base__.Validate.checkval validate_ubound : max:t Base__.Maybe_bound.t -> t Base__.Validate.checkval validate_bound :
min:t Base__.Maybe_bound.t ->
max:t Base__.Maybe_bound.t ->
t Base__.Validate.checkmodule Replace_polymorphic_compare = Bigint.Replace_polymorphic_compareval hash_fold_t :
Ppx_hash_lib.Std.Hash.state ->
t ->
Ppx_hash_lib.Std.Hash.stateval hash : t -> Ppx_hash_lib.Std.Hash.hash_valueval hashable : t Core_kernel__.Hashtbl.Hashable.tmodule Table = Bigint.Tablemodule Hash_set = Bigint.Hash_setmodule Hash_queue = Bigint.Hash_queueval quickcheck_generator : t Base_quickcheck.Generator.tval quickcheck_observer : t Base_quickcheck.Observer.tval quickcheck_shrinker : t Base_quickcheck.Shrinker.tval gen_incl : t -> t -> t Base_quickcheck.Generator.tval gen_log_incl : t -> t -> t Base_quickcheck.Generator.tval to_int64_exn : t -> Core_kernel.Int64.tval to_int : t -> int optionval to_int32 : t -> Core_kernel.Int32.t optionval to_int64 : t -> Core_kernel.Int64.t optionval to_nativeint : t -> nativeint optionval of_int32 : Core_kernel.Int32.t -> tval of_int64 : Core_kernel.Int64.t -> tval of_nativeint : nativeint -> tval to_zarith_bigint : t -> Bigint__.Zarith.Z.tval of_zarith_bigint : Bigint__.Zarith.Z.t -> tval gen_positive : t Core_kernel.Quickcheck.Generator.tval gen_negative : t Core_kernel.Quickcheck.Generator.tmodule Stable = Bigint.Stablemodule Unstable = Bigint.Unstableval bin_size_t : t Core_kernel.Bin_prot.Size.sizerval bin_write_t : t Core_kernel.Bin_prot.Write.writerval bin_read_t : t Core_kernel.Bin_prot.Read.readerval __bin_read_t__ : ( int -> t ) Core_kernel.Bin_prot.Read.readerval bin_writer_t : t Core_kernel.Bin_prot.Type_class.writerval bin_reader_t : t Core_kernel.Bin_prot.Type_class.readerval bin_t : t Core_kernel.Bin_prot.Type_class.tinclude module type of struct include M end
val random : unit -> Bigint.tval gen : t Base_quickcheck.Generator.tval test_bit : t -> int -> boolval to_bits : t -> bool listval of_bits : bool list -> t