package tezos-crypto

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tezos_crypto.ZplusSource

Sourceval serialize : Z.t -> string
Sourceval deserialize : string -> Z.t
Sourceval leq : Z.t -> Z.t -> bool

Less than or equal.

Sourceval geq : Z.t -> Z.t -> bool

Greater than or equal.

Sourceval lt : Z.t -> Z.t -> bool

Less than (and not equal).

Sourceval gt : Z.t -> Z.t -> bool

Greater than (and not equal).

Sourceval (<=) : Z.t -> Z.t -> bool

Less than or equal.

Sourceval (>=) : Z.t -> Z.t -> bool

Greater than or equal.

Sourceval (<) : Z.t -> Z.t -> bool

Less than (and not equal).

Sourceval (>) : Z.t -> Z.t -> bool

Greater than (and not equal).

Sourceval zero : Z.t
Sourceval one : Z.t
Sourceval invert : Z.t -> Z.t -> Z.t option

Invert the first argument modulo the second. Returns none if there is no inverse