Re: lpack "other-endian" numbers?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lpack "other-endian" numbers?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2004年4月27日 00:19:18 -0300
>Would anyone happen to have modified lhf's lpack library to work with
>numbers that are in stored with endianness opposite of the native system?
I've updated lpack to handle this by adding three new codes:
- After seeing <, all numbers are packed/unpacked in little endian order
- After seeing >, all numbers are packed/unpacked in big endian order
- After seeing =, all numbers are packed/unpacked in native endian order
Get lpack at the usual place:
http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/
I hope it helps. Enjoy.
--lhf