| |
| |
Arithmetic coding - Wikipedia, the free encyclopedia |
 | | Rather than try to simulate infinite precision, most arithmetic coders instead operate at a fixed limit of precision that they know the decoder will be able to match, and round the calculated fractions to their nearest equivalents at that precision. |
 | | There is profound similarity between arithmetic coding and range encoding, so much so that their performances can usually be expected to be almost identical, with range encoding only being a few bits behind if there is indeed any difference. |
 | | The idea behind range encoding is that, instead of starting with the interval [0,1) and dividing it into sub-intervals proportional to the probability of each symbol, the encoder starts with a large range of non-negative integers, such as 000,000,000,000 to 999,999,999,999, and divides it into sub-ranges proportional to the probability of each symbol. |
| en.wikipedia.org /wiki/Arithmetic_coding (1736 words) |
|