package fast_bitvector

  1. Overview
  2. Docs

Module type Fast_bitvector.Ops

Sourcetype with_result
Sourceval set : t -> int -> unit
Sourceval clear : t -> int -> unit
Sourceval set_to : t -> int -> bool -> unit
Sourceval get : t -> int -> bool
Sourceval equal : t -> t -> bool

Compare two bitvectors for equality.

Sourceval equal_modulo : modulo:t -> t -> t -> bool

Test whether two bitvectors are equal in the positions set in modulo

Sourceval not : t -> with_result
Sourceval and_ : t -> t -> with_result
Sourceval nand : t -> t -> with_result
Sourceval or_ : t -> t -> with_result
Sourceval nor : t -> t -> with_result
Sourceval xor : t -> t -> with_result
Sourceval xnor : t -> t -> with_result
Sourcemodule Set : sig ... end