Arithmetic coding/As a generalized change of radix: Difference between revisions

Content deleted Content added
Rdm (talk | contribs)
J: rewrite
Rdm (talk | contribs)
Line 213:
e,~<.(L+p)%10^e
)
 
 
aekDec=:adverb define
Line 299 ⟶ 298:
TOBEORNOTTOBEORTOBEORNOT</lang>
 
Note that for this task we use our plaintext to generate our dictionary for decoding. Also note that we use rational numbers, rather than floating point, for our dictionary, because floating point tends to be inexact.
 
=={{header|Perl}}==