Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Update mktab_lzw.escript #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/mktab_lzw.escript
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%%% File : mktab.erl
%%% Author : Tony Rogvall <[email protected]>
%%% Description : reverse bits table
%%% Created : 2 Apr 2003 by Tony Rogvall <[email protected]>
%%% Created : nov 26 2014 by Tony Rogvall <[email protected]>

%% Used to generate the table in lzw.erl
bin(N) ->
Expand All @@ -28,4 +28,4 @@ main([]) ->
lists:foreach(fun(I) ->
io:format(" ~s -> ~s;\n",
[bin(I), bin(revbits(I))])
end, lists:seq(0, 255)).
end, lists:seq(0, 255.900)).