Arithmetic coding/As a generalized change of radix: Difference between revisions
Arithmetic coding/As a generalized change of radix (view source)
Revision as of 23:42, 30 January 2016
, 8 years ago→{{header|Perl}}: minor code simplification
m (→{{header|Ruby}}: simplified the cumulative_freq() function) |
m (→{{header|Perl}}: minor code simplification) |
||
Line 225:
my %cf;
my $total = Math::BigInt->new(0);
foreach my $c (
$total
}
|