From -5954033472723607759
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,738ae3371beb3408
X-Google-Attributes: gidf78e5,public
From: Hyman Rosen <hymie@prolifics.com>
Subject: Re: portable method of determining endianness byte order.
Date: 1999/12/01
Message-ID: <t7ln7e8spx.fsf@calumny.jyacc.com>#1/1
X-Deja-AN: 555375569
X-NNTP-Posting-Host: firewall.jyacc.com
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <38329967.470B6CED@hqs.mid.gmeds.com> <38359FF5.AB0B77E9@zetec.com> <t73dtnacpa.fsf@calumny.jyacc.com> <g1pNRNAk6GR4Ew21@robinton.demon.co.uk>
X-UID: 0000000001
X-Status: $$$T
X-Complaints-To: abuse@panix.com
X-Trace: news.panix.com 944069869 29740 209.49.126.226 (1 Dec 1999 17:37:49 GMT)
Organization: PANIX Public Access Internet and UNIX, NYC
NNTP-Posting-Date: 1 Dec 1999 17:37:49 GMT
Newsgroups: comp.std.c++
Originator: clamage@taumet


Francis Glassborow <francis@robinton.demon.co.uk> writes:
> Because no such method exists.  And why do you assume that it is a
> simple two way choice?

If I recall correctly, the VAX had a mixed model for its 32-bit
integers. I think the order for 0x12345678 was 34 12 78 56.


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




