exception ComparingUnequalBVsexception NonStandardBVSize
type tConstant bitvector
val length_of_bitvector : t -> intReturn the length of a bitvector as a numeral
val repeat_bit : bool -> int -> tReturn bitvector resulting from repeating input bit b, (input) n times
Return bits m down to n from the input bitvector
val bvsignext : int -> t -> tReturn input bitvector sign-extended to m bits
val bvconcat : t -> t -> tReturn input bitvectors concatenated together
val num_to_ubv8 : Numeral.t -> tReturn size 8 unsigned bitvector converted from a numeral
val num_to_ubv16 : Numeral.t -> tReturn size 16 unsigned bitvector converted from a numeral
val num_to_ubv32 : Numeral.t -> tReturn size 32 unsigned bitvector converted from a numeral
val num_to_ubv64 : Numeral.t -> tReturn size 64 unsigned bitvector converted from a numeral
val ubv_to_num : t -> Numeral.tReturn numeral converted from an unsigned bitvector
val ubv8_to_num : t -> Numeral.tReturn numeral converted from a size 8 unsigned bitvector
val ubv16_to_num : t -> Numeral.tReturn numeral converted from a size 16 unsigned bitvector
val ubv32_to_num : t -> Numeral.tReturn numeral converted from a size 32 unsigned bitvector
val ubv64_to_num : t -> Numeral.tReturn numeral converted from a size 64 unsigned bitvector
val num_to_bv8 : Numeral.t -> tReturn size 8 signed bitvector converted from a numeral
val num_to_bv16 : Numeral.t -> tReturn size 16 signed bitvector converted from a numeral
val num_to_bv32 : Numeral.t -> tReturn size 32 signed bitvector converted from a numeral
val num_to_bv64 : Numeral.t -> tReturn size 64 signed bitvector converted from a numeral
val bv_to_num : t -> Numeral.tReturn numeral converted from a signed bitvector
val bv8_to_num : t -> Numeral.tReturn numeral converted from a size 8 signed bitvector
val bv16_to_num : t -> Numeral.tReturn numeral converted from a size 16 signed bitvector
val bv32_to_num : t -> Numeral.tReturn numeral converted from a size 32 signed bitvector
val bv64_to_num : t -> Numeral.tReturn numeral converted from a size 64 signed bitvector
val sbv_add : t -> t -> tFunction that adds two signed bitvectors
val ubv_add : t -> t -> tFunction that adds two unsigned bitvectors
val sbv_mult : t -> t -> tFunction that multiplies two signed bitvectors
val ubv_mult : t -> t -> tFunction that multiplies two unsigned bitvectors
val sbv_div : t -> t -> tFunction that divides two signed bitvectors
val ubv_div : t -> t -> tFunction that divides two unsigned bitvectors
val sbv_rem : t -> t -> tFunction that finds remainder of two signed bitvectors
val ubv_rem : t -> t -> tFunction that finds remainder of two unsigned bitvectors
val sbv_sub : t -> t -> tFunction for signed bitvector subtraction
val sbv_neg : t -> tFunciton for signed bitvector negation
val bv_and : t -> t -> tFunction that computes bitwise conjunction
val bv_or : t -> t -> tFunciton that computes bitwise disjunction
val bv_not : t -> tFunction that computes bitwise negation
val equal : t -> t -> boolEquality
val ult : t -> t -> boolUnsigned lesser than
val ugt : t -> t -> boolUnsigned greater than
val ulte : t -> t -> boolUnsigned lesser than or equal to
val ugte : t -> t -> boolUnsigned greater than or equal to
val lt : t -> t -> boolSigned lesser than
val gt : t -> t -> boolSigned greater than
val lte : t -> t -> boolSigned lesser than or equal to
val gte : t -> t -> boolSigned greater than or equal to
val bv_lsh : t -> t -> tShift bitvector left by n times, where n is specified as an unsigned BV
val bv_rsh : t -> t -> tShift bitvector right by n times, where n is specified as an unsigned BV
val bv_arsh : t -> t -> tArithmetic right shift of bitvector by n times, where n is specified as an unsigned BV
val pp_smtlib_print_bitvector_b : Stdlib.Format.formatter -> t -> unitPretty-print a constant bitvector in SMTLIB binary format
val pp_smtlib_print_bitvector_d : Stdlib.Format.formatter -> Numeral.t -> Numeral.t -> unitval pp_yices_print_bitvector_b : Stdlib.Format.formatter -> t -> unitPretty-print a constant bitvector in Yices' binary format
val pp_yices_print_bitvector_d : Stdlib.Format.formatter -> Numeral.t -> Numeral.t -> unitPretty-print a constant bitvector in Yices' binary format given the decimal value and size
val pp_print_unsigned_machine_integer : Stdlib.Format.formatter -> t -> unitPretty-print a constant unsigned bitvector as a Lustre machine integer
val pp_print_signed_machine_integer : Stdlib.Format.formatter -> t -> unitPretty-print a constant signed bitvector as a Lustre machine integer
val pp_print_bitvector_x : Stdlib.Format.formatter -> t -> unitPretty-print a constant bitvector in hexadeciaml format
val bitvector_of_string : string -> tConvert a string to a bitvector Binary and hexadecimal notation is accepted as #b01+ and #x0-9a-fA-F+ as in the SMTLIB standard
val bitvector_of_hstring : HString.t -> tConvert a hashconsed string to a bitvector, store all converted values in a cache
val bool_of_hstring : HString.t -> boolConvert a hashconsed string to a Boolean value
val (=) : t -> t -> boolEquality
val (<) : t -> t -> boolSigned lesser than
val (>) : t -> t -> boolSigned greater than
val (<=) : t -> t -> boolSigned lesser than or equal to
val (>=) : t -> t -> boolSigned greater than or equal to
val first_bit : t -> boolReturn the first bit of input bitvector b