How to get an integer from a sequence of bytes

Joshua Landau joshua.landau.ws at gmail.com
Tue Jun 4 15:51:35 EDT 2013


On 4 June 2013 14:39, Grant Edwards <invalid at invalid.invalid> wrote:
> On 2013-06-03, Dan Stromberg <drsalists at gmail.com> wrote:
>> Today though, it would be difficult to sell a conventional (Von Neumann)
>> computer that didn't have 8 bit bytes.
>
> There are tons (as in millions of units per month) of CPUs still being
> sold in the DSP market with 16, 20, 24, and 32 bit "bytes".  (When
> writing C on a TMS320Cxx CPU sizeof (char) == sizeof (int) == sizeof
> (long) == sizeof (float) == sizeof (double) == 1.  They all contain 32
> bits.
)

*) for the bracket not in the reply

Sorry.



More information about the Python-list mailing list