From: Janice McCarthy <janice@acpub.duke.edu>
To: axp-list@redhat.com
Subject: OFF-TOPIC: little-endian vs. big-endian conversion
Date: Fri, 3 Apr 1998 12:15:05 -0500 (EST) [thread overview]
Message-ID: <Pine.SOL.3.91.980403120737.15690D-100000@godzilla2.acpub.duke.edu> (raw)
Hello all! I know this is off-topic, but I am getting desperate. I have
some binary files that were generated on an sgi, but I need to read them
on my Alpha (UDB with linux 2.0.20). I have learned that the sgi is
big-endian, where the alpha is little-endian. The files are in the
following format:
1 int followed by 52 doubles - repeated 20,000 times.
I wrote a conversion program to reverse the bytes, but it doesn't seem to
work. Am I missing something? Is there more of a difference between the
two conventions? Can someone at least point me in the right direction?
There was at one time a mini-how-to, but it seems to have disappeared!
Thanks in advance,
Janice McCarthy
janice@acpub.duke.edu
next reply other threads:[~1998-04-03 17:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-03 17:15 Janice McCarthy [this message]
1998-04-03 17:33 ` OFF-TOPIC: little-endian vs. big-endian conversion Uncle George
1998-04-03 17:54 ` Alvin Starr
1998-04-06 12:39 ` Mike Howard
-- strict thread matches above, loose matches on Subject: below --
1998-04-03 17:27 Greg Lindahl
1998-04-03 17:51 ` Michal Jaegermann
1998-04-03 17:54 Greg Lindahl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox