You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for digit in digits {if digit >= base {returnErr(BaseConvertError::InvalidDigit(digit, base));}// Multiply by base.// OPT: keep track of non-zero limbs and mul the minimum.letmut carry:u128 = u128::from(digit);#[allow(clippy::cast_possible_truncation)]for limb in result.limbs.iter_mut(){
carry += u128::from(*limb)* u128::from(base);*limb = carry asu64;
github-actionsbot
changed the title
keep track of non-zero limbs and mul the minimum.
base_convert:keep track of non-zero limbs and mul the minimum.
May 28, 2022
github-actionsbot
changed the title
base_convert:keep track of non-zero limbs and mul the minimum.base_convert: keep track of non-zero limbs and mul the minimum.
May 28, 2022
On 2022-05-28 @recmo wrote in
b0b5d54
“Mod names”:keep track of non-zero limbs and mul the minimum.
From
src/base_convert.rs:93
The text was updated successfully, but these errors were encountered: