package dolmen_model

  1. Overview
  2. Docs

Module Dolmen_model.IntSource

Value definition

************************************************************************

Sourcetype t = Z.t

Ints are represented using zarith's integer type.

ops for integer values.

Sourceval mk : Z.t -> Value.t

integer value creation.

Builtins

************************************************************************

Sourceval builtins : Env.builtins

builtins for integers

Value helpers

************************************************************************

Sourceval ceil : Q.t -> Z.t
Sourceval floor : Q.t -> Z.t
Sourceval truncate : Q.t -> Z.t