package optint

  1. Overview
  2. Docs
Abstract type on integer between x64 and x86 architecture

Install

Dune Dependency

Authors

Maintainers

Sources

optint-v0.0.5.tbz
sha256=774901af130eacc08e30ae43e9a18c926f284c22e3c66c2ff95e74648fbedf26
sha512=fe5762ee7a1a08c7b389fbef9188f8a59c40bb8e19535cec1661a789f973338d5b6d4b30c1869e089282242efa63bfc86c1fb15224b47c05cb5277971aa14a35

CHANGES.md.html

v0.0.5 2021-02-22 Paris (France)

  • Update the README.md (@CraigFe, #9)

  • Add a representation of 63-bit integers (@CraigFe, #9)

  • Allow to compile fuzzers on 32-bit architectures (@dinosaure, #9)

  • Add encode / decode functions for integers (@CraigFe, #9)

  • Fix optint about sign and cast on all architectures (@dinosaure, #9)

  • breaking changes, rename and handle properly sign-bit: {of,to}_int become {of,to}_unsigned_int {of,to}_int32 become {of,to}_unsigned_int32 Previous functions handle sign-bit correctly

v0.0.4 2020-03-09 Paris (France)

  • Fix 32bit backend where we miss to fully apply an invalid_arg

  • Fix 64bit backend where Native.unsigned_compare and Nativeint.unsigned_div exists (OCaml 4.08.0)

v0.0.3 2010-09-12 Paris (France)

  • Avoid partial application of function (#2, @dinosaure)

  • Add [@immediate] tag (#4, @dinosaure)

  • Fix select.ml in 32bit (#5, @IndiscriminateCoding)

  • Fix typo (#6, @hannesm)

  • Add fuzzer (#8, @dinosaure)

  • Fix lsr and asr in 64bit (#8, @cfcs, @dinosaure)

  • Optimization on of_int function (64bit) (#8, @cfcs, @dinosaure)

  • Optimization on abs function (64bit) (#8, @cfcs, @dinosaure)

  • Fix 32bit architecture, keep bit-sign in the same place (#8, @dinosaure, review @cfcs)

v0.0.2 2018-10-15 Paris (France)

  • Dunify project

  • Fix dependencies on dune file when we select impl. (@rgrinberg)

v0.0.1 2018-06-28 Paris (France)

  • First version of optint

OCaml

Innovation. Community. Security.