ZenGo-X / class

Rust library for building IQC: cryptography based on class groups of imaginary quadratic orders
GNU General Public License v3.0
63 stars 31 forks source link

Improve numerical log #6

Open omershlo opened 5 years ago

omershlo commented 5 years ago

https://github.com/KZen-networks/class-groups/blob/master/src/primitives/mod.rs#L182 The current approximation is not so good. It can be seen in the test https://github.com/KZen-networks/class-groups/blob/master/src/primitives/mod.rs#L235. We need formula for numerical log using integers only.