in reply to Re: Frequency analysis of the digits of the result of a multiplication
in thread Frequency analysis of the digits of the result of a multiplication
to cope with when the result is less than $maxdigits in length. (M-x mpuz, which is behind why I wrote this code in the first place, throws away results less than 5 digits in length anyway.)while (scalar @result < $maxdigits) { push @result, 0; }
|
|---|