package checked_oint

  1. Overview
  2. Docs
An OCaml library for checked integer arithmetic

Install

Dune Dependency

Authors

Maintainers

Sources

checked_oint-0.3.0.tar.gz
md5=3b95c21cd6dd84dc2ecd5d282ab93af4
sha512=fd32690a0b99b4113349177b7c0201de4a405fe60d94b22a338575f4a9bd3f45c14576ae216be6a26390f305ed52e6db5bdc15787402be546f9143a4af26fee3

doc/CHANGELOG.html

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

unreleased

0.3.0 - 2024-11-09

Added

  • Integer type shortcuts:

    • u8_int_ty, u16_int_ty, u32_int_ty, u64_int_ty, u128_int_ty
    • i8_int_ty, i16_int_ty, i32_int_ty, i64_int_ty, i128_int_ty

0.2.2 - 2024-11-01

Fixed

  • Detect out-of-range letters during 128-bit integer parsing.

0.2.1 - 2024-10-16

Fixed

  • Support binary, octal, and hexadecimal of_string formats for 128-bit integers.

0.2.0 - 2024-06-14

Added

  • The is_zero, is_one, is_all_ones predicates on generic integers.

Changed

  • Rename S.ty to S.int_ty (in accordance with generic_int_ty).

0.1.2 - 2024-05-15

Added

  • S.of_int and S.of_string which return option instead of raising an exception.

Fixed

  • Specify a required version of alcotest.

0.1.1 - 2024-05-05

Added

  • S.ty for getting a type representation (int_ty).

Fixed

  • Specify required versions of ocaml and ctypes-foreign in dune-project.

0.1.0 - 2024-05-01

Added

  • This library.
OCaml

Innovation. Community. Security.