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
bernfrac(0);
bernfrac(1);
for(k = 1, 20, print(bernfrac(k)));
for(k = 0, 5, print(bernpol(k)));
bernfrac(-1)
bernreal(-1)
bernpol(-1)
bernvec(30)
default(realprecision,38);
bernreal(30)
bernreal(202)
localprec(57); bernreal(30)