Rice coding: Difference between revisions

m
→‎{{header|Phix}}: hardly production ready, anyway
m (→‎{{header|Phix}}: added ..q+k comment)
m (→‎{{header|Phix}}: hardly production ready, anyway)
Line 142:
<!--</syntaxhighlight>-->
{{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.<br>
Then again the above is using strings for demonstration purposes, so that code is hardly production-ready.
 
=={{header|raku}}==
7,805

edits