Update partial.rs

This commit is contained in:
goldenMetteyya 2019-04-09 23:57:43 +03:00
parent 749cc7e016
commit a65950ef26

View File

@ -72,7 +72,8 @@ fn u64_log2(n: u64) -> u64 {
pub fn partial_bigint(op: &BigInt) -> (i64, i32) {
//uint64_t size = mpz_size(op);
//number if limbs used to represent this number
let size = op.len();
//let size = op.len();
let size = op.digits().len();
//
let last: u64 = op.digits()[size-1];