class_group 0.6.0

Rust library for building IQC: cryptography based on class groups (Cl) of imaginary quadratic orders
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Function: max
Section: operators
C-Name: gmax
Prototype: GG
Help: max(x,y): maximum of x and y.
Description:
 (small, small):small  maxss($1, $2)
 (small, int):int      gmaxsg($1, $2)
 (int, small):int      gmaxgs($1, $2)
 (int, int):int        gmax($1, $2)
 (small, mp):mp        gmaxsg($1, $2)
 (mp, small):mp        gmaxgs($1, $2)
 (mp, mp):mp           gmax($1, $2)
 (small, gen):gen      gmaxsg($1, $2)
 (gen, small):gen      gmaxgs($1, $2)
 (gen, gen):gen        gmax($1, $2)
Doc: creates the maximum of $x$ and $y$ when they can be compared.