I'm having difficulty with the termination indicator for
6bit encoded characters packed into longs, as described in
the McCarthy paper. I'm trying to use -1U for all bits set,
but I'm missing something somewhere.
if(in==-1U) *cp=0, goto ret;
0 <= in <= 63
-1U == UINT_MAX >= 32767U (or is it 65535)
In either case, your if condition can never be true.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.