Re: endianess for byte data

From: Dave Allured - NOAA Affiliate <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Fri Jan 25 2013 - 13:04:00 MST

On common computers, in the context of number storage formats, such as
floats, integers, etc., "endianness" usually refers only to the byte
order, not the bit order. Within each byte, the bit storage order is
always 76543210 (big endian), with 7 being the most significant bit,
and 0 the least significant.

See the Endianness page on Wikipedia, for more details.

--Dave

On Fri, Jan 25, 2013 at 9:41 AM, Liu, Peng <pliu34@gatech.edu> wrote:
> Dear NCL users,
> I have a question about the endianness of the data in byte type. when read or write a byte type data, and set the format to be little or big endian, does that mean the bit order is in little or big endian? or in NCL, the setting in endianness only applies to order of bytes, instead of bit?
>
> Thanks
>
>
> Peng Liu
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jan 25 13:04:14 2013

This archive was generated by hypermail 2.1.8 : Tue Jan 29 2013 - 22:44:26 MST