Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Emmanuel Choquet <ics@cica.fr>
Subject: Re: DEC Unix 4.0 IEEE floating point on Alpha
Date: 1997/07/24	[thread overview]
Message-ID: <33D7019F.8A@cica.fr> (raw)
In-Reply-To: 33D6C4C2.63B7@EasyInternet.net


Paul DeMone wrote:
> 
> James Nau wrote:
> >
> > Hi all,
> >

> 
>   It looks like a byte endianess problem to me.  The Alpha runs in little
>   endian mode (like VAX and x86) while 68K, SPARC, and non-DEC MIPS based
>   workstations run in big endian mode.
> 
>   You could write FP values to a file in big endian order on your Alpha
>   if you alias a char array over the FP value in memory and pick up the
>   bytes in reverse order and write them individually to your file  There
>   are probably more elegent ways of doing this...
> 
if you use FORTRAN from Digital, there are options to automatically
convert
the endianism while reading on the fly from a file.

-- 
Emmanuel Choquet 
Informatique Client/Serveur
& Communication
                _/
                            _/
              _/   _/_/_/  _/   _/_/_/
             _/   _/      _/   _/
            _/   _/      _/   _/_/_/
           _/   _/      _/       _/
          _/   _/_/_/  _/   _/_/_/

ics@cica.fr
c/o Cica      Tel: (33) 4 92.94.23.50 
2229, route des cretes  fax: (33) 4 92.94.23.54
06560 Sophia-Antipolis



  reply	other threads:[~1997-07-24  4:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-23  4:00 DEC Unix 4.0 IEEE floating point on Alpha James Nau
1997-07-23  4:00 ` Paul DeMone
1997-07-24  4:00   ` Emmanuel Choquet [this message]
1997-07-24  4:00 ` Jim Griffin
1997-07-26  4:00   ` John Hascall
1997-08-05  4:00   ` Eugene Y C Chu
1997-07-24  4:00 ` A.Arnold
1997-07-24  4:00   ` fairfield
1997-07-25  4:00     ` Steve Lionel
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