diff options
| author | BESSON Frederic | 2020-09-16 14:29:11 +0200 |
|---|---|---|
| committer | BESSON Frederic | 2020-09-16 14:29:11 +0200 |
| commit | 7edb2d353fc566eafd4cf6d8268271918ded321d (patch) | |
| tree | 1985cc10a9685e9dfb60b6d96a050e9d588d7070 /plugins/micromega/numCompat.mli | |
| parent | d6b6e1d6ceadfe65ea398786361ff7737624deaf (diff) | |
| parent | acb24a1540c33f075a83f9788614e5c2f3335b0a (diff) | |
Merge PR #8743: [micromega] Switch from `Big_int` to ZArith.
Ack-by: JasonGross
Ack-by: SkySkimmer
Reviewed-by: Zimmi48
Reviewed-by: fajb
Ack-by: liyishuai
Ack-by: maximedenes
Ack-by: ppedrot
Ack-by: soraros
Ack-by: thery
Ack-by: vbgl
Diffstat (limited to 'plugins/micromega/numCompat.mli')
| -rw-r--r-- | plugins/micromega/numCompat.mli | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/micromega/numCompat.mli b/plugins/micromega/numCompat.mli index acc6be6ce0..0b4d52708f 100644 --- a/plugins/micromega/numCompat.mli +++ b/plugins/micromega/numCompat.mli @@ -25,8 +25,15 @@ module type ZArith = sig val power_int : t -> int -> t val quomod : t -> t -> t * t val ppcm : t -> t -> t + + (** [gcd x y] Greatest Common Divisor. Must always return a + positive number *) val gcd : t -> t -> t + + (** [lcm x y] Least Common Multiplier. Must always return a + positive number *) val lcm : t -> t -> t + val to_string : t -> string end @@ -40,7 +47,9 @@ module type QArith = sig val one : t val two : t val ten : t - val neg_one : t + + (** -1 constant *) + val minus_one : t module Notations : sig val ( // ) : t -> t -> t |
