Rice coding: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: extra 0) |
m (→{{header|Phix}}: added ..q+k comment) |
||
Line 142: | Line 142: | ||
<!--</syntaxhighlight>--> |
<!--</syntaxhighlight>--> |
||
{{out}} |
{{out}} |
||
Same as Julia. Note that rice_decode on an input stream should probably get r from a[q+1..q+k] and strip q+k bits off the head of the stream. |
|||
Same as Julia |
|||
=={{header|raku}}== |
=={{header|raku}}== |