Module Units.In_bits

Sizes and offsets in bits.

include Unit
type t = private int
val compare : t -> t -> int
val of_int : int -> t
val to_int : t -> int
val (+) : t -> t -> t
val (-) : t -> t -> t
val (<=) : t -> t -> bool
val (<) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val zero : t
val one : t
val in_bytes : t -> In_bytes.t
val double : t -> t

Doubling the size is useful to avoid overflow errors.

val s32 : t