This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR fortran/23815: Add byte-swapping to gfortran


On Wed, Nov 16, 2005 at 01:09:12AM +0100, Andreas Schwab wrote:
> Thomas Koenig <Thomas.Koenig@online.de> writes:
> 
> > Would you get the m68k extended float format by byte-reversing i386
> > 80-bit reals?
 
> No.  Even if you get the byte mapping right there are still differences in
> how the format is interpreted, especially when dealing with denormals.

Oh well...

I've put this into the documentation that KIND=10 probably won't work
with CONVERT.  This needs some more work.

Here's an updated version of the patch.

OK for mainline?

	Thomas

:ADDPATCH fortran:

Attachment: byteswap-4.diff
Description: Text document

Attachment: unf_io_convert_1.f90
Description: Text document

Attachment: unf_io_convert_2.f90
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]