use u128 for bigint limbs (#9)

* update to rand 0.5

* use u128 for bigint limbs
This commit is contained in:
André Silva
2018-07-25 14:51:04 +01:00
committed by Nikolay Volf
parent 786c0d5643
commit 9f1acd94df
8 changed files with 178 additions and 151 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ impl Fq12 {
}
pub fn exp_by_neg_z(&self) -> Fq12 {
self.cyclotomic_pow(U256([4965661367192848881, 0, 0, 0]))
self.cyclotomic_pow(U256::from([4965661367192848881, 0, 0, 0]))
.unitary_inverse()
}