package jasmin

  1. Overview
  2. Docs
Compiler for High-Assurance and High-Speed Cryptography

Install

dune-project
 Dependency

Authors

Maintainers

Sources

jasmin-compiler-v2025.06.1.tar.bz2
sha256=e92b42fa69da7c730b0c26dacf842a72b4febcaf4f2157a1dc18b3cce1f859fa

doc/src/jasmin.jasmin/interval.ml.html

Source file interval.ml

1
2
3
4
5
6
7
type interval = { min : int; max : int }
type t = interval

let size i = i.max - i.min

let pp_interval ?(closed=false) fmt { min ; max } =
  Format.fprintf fmt "[%d; %d%s" min max (if closed then "]" else "[")