package integers

  1. Overview
  2. Docs
Various signed and unsigned integer types for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.6.0.tar.gz
sha256=7b4bd5f03270201aa22612137edb7844f752e201012b6b584620b76fa0062bf8
md5=a1e2412f4a0d88757d1a4297f18b374e

doc/integers/Signed/index.html

Module SignedSource

Types and operations for signed integers.

Sourcemodule type Infix = sig ... end
Sourcemodule type S = sig ... end

Signed integer operations

Sourcemodule Int : S with type t = int

Signed integer type and operations.

Sourcemodule Int32 : S with type t = int32

Signed 32-bit integer type and operations.

Sourcemodule Int64 : S with type t = int64

Signed 64-bit integer type and operations.

Sourcemodule SInt : S

C's signed integer type and operations.

Sourcemodule Long : S

The signed long integer type and operations.

Sourcemodule LLong : S

The signed long long integer type and operations.

Sourcetype sint = SInt.t

C's signed integer type.

Sourcetype long = Long.t

The signed long integer type.

Sourcetype llong = LLong.t

The signed long long integer type.

Sourceval of_byte_size : int -> (module S)

of_byte_size b is a module of type S that implements a signed type with b bytes.

Raise Invalid_argument if no suitable type is available.

OCaml

Innovation. Community. Security.