Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Re: Big Endian,...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 14 Topic 9587 of 9828
Post > Topic >>

Re: Big Endian, Little Endian.

by "Bo Persson" <bop@[EMAIL PROTECTED] > May 11, 2008 at 09:46 AM

Sohail Somani wrote:
> clemd@[EMAIL PROTECTED]
 wrote:
>> On May 9, 8:25 pm, Le Chaud Lapin <jaibudu...@[EMAIL PROTECTED]
> wrote:
>>> Hi All,
>>>
>>> What header or compile-time trick allows one to determine the
>>> byte- order of target CPU?
>>
>> Not possible. Depending on the CPU and the memory system, the byte
>> order may be dynamic, or it may vary among sections of memory. Or
>> it may be "mixed endian" (not strictly big or little), or have no
>> endianness.
>
> Wow. Do you have an example?

You will find that some hardware is switchable, or that the endianness
of integers and floats are not the same, or that the endianness is not
at the byte level.  :-)

http://en.wikipedia.org/wiki/Endianness



Bo Persson



--
      [ See http://www.gotw.ca/resources/clcm.htm
for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
 




 14 Posts in Topic:
Big Endian, Little Endian.
Le Chaud Lapin <jaibud  2008-05-09 21:25:48 
Re: Big Endian, Little Endian.
Sohail Somani <sohail@  2008-05-10 06:14:24 
Re: Big Endian, Little Endian.
"clemd@[EMAIL PROTEC  2008-05-10 06:14:27 
Re: Big Endian, Little Endian.
Sohail Somani <sohail@  2008-05-10 14:08:50 
Re: Big Endian, Little Endian.
"Bo Persson" &l  2008-05-11 09:46:25 
Re: Big Endian, Little Endian.
"Jonathan Thornburg   2008-05-11 09:46:15 
Re: Big Endian, Little Endian.
"clemd@[EMAIL PROTEC  2008-05-13 11:57:27 
Re: Big Endian, Little Endian.
Ronald Natalie <ron@[E  2008-05-13 21:07:16 
Re: Big Endian, Little Endian.
Andy Champ <no.way@[EM  2008-05-13 21:09:23 
Re: Big Endian, Little Endian.
Carl Barron <cbarron41  2008-05-13 21:11:36 
Re: Big Endian, Little Endian.
Greg Herlihy <greghe@[  2008-05-14 08:34:46 
Re: Big Endian, Little Endian.
=?ISO-8859-1?Q?Daniel_Kr=  2008-05-14 08:34:37 
Re: Big Endian, Little Endian.
Martin Bonner <martinf  2008-05-14 11:39:46 
Re: Big Endian, Little Endian.
Alex Shulgin <alex.shu  2008-05-14 17:52:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 15:52:15 CDT 2008.