package prbnmcn-basic-structures

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

Module Basic_impl.Integer_mod2Source

The finite field of integers modulo 2

Sourcetype t =
  1. | Zero
  2. | One

The type of integers modulo 2

include Basic_intf.Field_std with type t := t
Sourceval zero : t
Sourceval add : t -> t -> t
Sourceval neg : t -> t
Sourceval one : t
Sourceval mul : t -> t -> t
Sourceval sub : t -> t -> t
Sourceval of_int : int -> t
Sourceval div : t -> t -> t
Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval pp : Format.formatter -> t -> unit
Sourceval hash : t -> int
OCaml

Innovation. Community. Security.