package integers

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.5.0.tar.gz
sha256=b0116f785d62d03ad8873bdaededcdc637aeca6709318ed343f9cc5568bfa1f2
md5=41f6edc33b9a877a1ec96895491b734c

doc/integers/Unsigned/module-type-Infix/index.html

Module type Unsigned.InfixSource

Infix names for the unsigned integer operations.

Sourcetype t
Sourceval (+) : t -> t -> t

Addition. See add.

Sourceval (-) : t -> t -> t

Subtraction. See sub.

Sourceval (*) : t -> t -> t

Multiplication. See mul.

Sourceval (/) : t -> t -> t

Division. See div.

Sourceval (mod) : t -> t -> t

Integer remainder. See rem.

Sourceval (land) : t -> t -> t

Bitwise logical and. See logand.

Sourceval (lor) : t -> t -> t

Bitwise logical or. See logor.

Sourceval (lxor) : t -> t -> t

Bitwise logical exclusive or. See logxor.

Sourceval (lsl) : t -> int -> t

x lsl y shifts x to the left by y bits. See shift_left.

Sourceval (lsr) : t -> int -> t

x lsr y shifts x to the right by y bits. See shift_right.

OCaml

Innovation. Community. Security.