package bitv
A bit vector library for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
2.0.tar.gz
md5=3cc19ac840f22c19508aac5063fcb43c
sha512=8a96af5d5573746b004fe018ef2b6faa0c3adf52c356e8a7b3ba97d3ba3cead685e1f3e174d46ccd3a09bb3215a4936501b08eabd36f0492a240ea20128bafae
doc/CHANGES.html
2.0
- Switch to bytes-based implementation. This is simpler and faster (up to 30% faster).
Bitv_string
is still there but deprecated (now identical toBitv
). - Functions
to_int...
do not fail anymore when bit vectors are small (and behave as if high bits are zero). - New function
tanimoto
(Tanimoto score) (contribution by François Berenger)
1.6 (06/02/2021)
- fixed build on 32-bit platforms e.g. js_of_ocaml (patch from Tim Bourke)
- added
exceeds_max_length
to replacemax_length
(deprecated)
1.5 (30/01/2021)
- new functions
rotatel
androtater
(patch from Tim Bourke)
1.4 (02/08/2020)
- switch to dune build system, and opam 2.0
- add to/of_bytes for machine-independant serialisation
- fix binary serialisation when vector is larger than 2^32
1.3 (14/12/2017)
- fix compilation for OCaml 4.06 (safe-string)
1.2 (10/02/2017)
- added pop (population count, i.e., number of 1 bits)
- suppressed some warnings with OCaml >= 4.00
1.1 (10/04/2013)
- installation using ocamlfind (if found) or in
ocamlc -where
/bitv otherwise - fixed of_int64_(u)s on a 32-bit architecture (thanks to Florent Monnier)
1.0 (14/08/2012)
- functions to/of_int64_s
- new functions output_bin/input_bin for export/import in a machine-independent way (contribution from Bruno Guillaume)
- fixed installation (patch from Bruno Guillaume)
0.9 (20/06/2012)
- fixed tarball (test.ml was missing)
- patched installation to use $(DESTDIR), if any (patch from Bruno Guillaume)
0.8 (28/02/2012)
- two different modules L and M for conversions to and from string (least and most significant bits first, respectively); apologies for API incompatibility
- improved implementation of iteri_true
0.7 (03/04/2008)
- fixed bug with unsafe_blit when len=0 (could affect blit, sub, append, concat and fill when used with 0-length bit vectors), thanks to Pat Rondon
0.6 (18/02/2005)
- added iteri_true
- added foldi_left and foldi_right
- patch for ocaml >= 3.08 (0xffffffff is no more accepted as a literal)
- fixed Invalid_argument messages (now exactly the function name)
0.5 (22/11/2002)
- added print : formatter -> t -> unit
- from_list now fails on negative indexes (patch from Karl Zilles)
- from_list_with_length to specify the length (patch from Karl Zilles)
0.4 (29/8/2002)
- to_list/from_list to convert to/from lists of integers
- added gray_iter to iterate over all bit vectors of length n
- configuration with autoconf
0.3 (31/5/2000)
- fixed bug in bw_not thanks to Damir Jamsek
0.2 (24/4/2000)
- normalization, so that generic equality can be used
- efficient implementations of append, sub, blit, concat and fill
- documentation using ocamlweb
- to_string, from_string
- bitwise operations, all_zeros
0.1
- first release
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>