From: "Jeffrey R. Carter" <jrcarter@acm.org>
Subject: Re: String literals and wide_string literals - how?
Date: Sun, 22 Apr 2007 00:35:38 GMT
Date: 2007-04-22T00:35:38+00:00 [thread overview]
Message-ID: <u5yWh.7935$n_.7293@attbi_s21> (raw)
In-Reply-To: <m2lkgmdpz3.fsf@mac.com>
Simon Wright wrote:
>
> Well, on a PowerPC Z is 2#00001111# but I suspect you'd get a
> different answer on a little-endian machine ..
Actually, that's on a PowerPC with your specific compiler. Another
compiler might give a different result for the same target. 2#00110011#
is a perfectly acceptable result. That's why this kind of thing, while
interesting, is not very useful.
FWIW, with MinGW GNAT 3.4.2 targeting Windows XP on an AMD Turion64 X2,
Z is 2#11110000#.
--
Jeff Carter
"People called Romanes, they go the house?"
Monty Python's Life of Brian
79
next prev parent reply other threads:[~2007-04-22 0:35 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 10:07 String literals and wide_string literals - how? Gerd
2007-04-20 14:33 ` Adam Beneschan
2007-04-20 14:55 ` Robert A Duff
2007-04-20 19:16 ` Randy Brukardt
2007-04-20 20:01 ` Adam Beneschan
2007-04-20 20:41 ` Dmitry A. Kazakov
2007-04-20 20:02 ` Robert A Duff
2007-05-21 2:33 ` David Thompson
2007-05-22 22:32 ` Randy Brukardt
2007-05-23 18:42 ` Jeffrey R. Carter
[not found] ` <f324h5$fna$1@f04n12.cac.psu.edu>
2007-05-24 21:15 ` Jeffrey R. Carter
2007-05-23 2:27 ` Keith Thompson
2007-07-01 1:00 ` David Thompson
2007-05-23 12:28 ` brian.b.mcguinness
2007-04-20 20:48 ` Dmitry A. Kazakov
2007-04-20 22:09 ` Jeffrey R. Carter
2007-04-21 9:41 ` Simon Wright
2007-04-22 0:35 ` Jeffrey R. Carter [this message]
2007-04-22 9:45 ` Simon Wright
2007-04-22 20:15 ` Jeffrey R. Carter
2007-04-22 21:18 ` Simon Wright
2007-04-23 1:44 ` Jeffrey R. Carter
2007-04-22 1:00 ` Robert A Duff
2007-04-20 14:58 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox