Re: bar code bit encoding

From: Jan Karrman <jan_at_it_dot_uu_dot_se>
Date: Tue Sep 16 2003 - 13:14:54 CDT

On Tue, 16 Sep 2003 Adechert@aol.com wrote:

> In a message dated 9/16/03 5:46:40 AM Pacific Daylight Time, jan@it.uu.se
> writes:
>
> > Note that when converting from decimal to binary to get back the
> > original bit vector from the decimal number, one may have to add
> > a number of zeroes (most significant zeroes will disappear).
> >
> In every case except where the first candidate in the first contest was
> selected. So, we pad with leading zeros to reach 116 digits. Is this what you
> mean? Seems simple enough.
>

No, I was referring to the fact that when converting vectors of
bits corresponding to binary numbers with leading zeroes, to and
from decimal numbers, using the functions I posted, the leading
zeroes will disappear:

  001101 (binary) -> 13 (decimal) -> 1101 (binary)

/Jan
==================================================================
= The content of this message, with the exception of any external
= quotations under fair use, are released to the Public Domain
==================================================================
Received on Tue Sep 30 23:17:06 2003

This archive was generated by hypermail 2.1.8 : Tue Sep 30 2003 - 23:17:09 CDT