[fpc-pascal]Re: How to convert between double and extended? (Mattias Gaertner)

2004-08-15 Thread Dr. Rolf Jansen
On Sun, 15 Aug 2004 03:03:08 +0200 Mattias Gaertner wrote: Where can I get information about the i386 extended and the ppc double format? Is it correct, that the ppc double is simply a reversed i386 double? I don“t know about the i386 format. In the past I did extended conversions between i386

Re: [fpc-pascal]How to convert between double and extended?

2004-08-15 Thread Florian Klaempfl
Mattias Gaertner wrote: On Sun, 15 Aug 2004 00:11:16 +0200 Jonas Maebe <[EMAIL PROTECTED]> wrote: On 14 aug 2004, at 19:34, Mattias Gaertner wrote: How can I convert between PowerPC double and i386 Extended on a powerpc? For example: I want to save a Double under powerpc to a stream as i386 Ext

Re: [fpc-pascal]Re: How to convert between double and extended? (Mattias Gaertner)

2004-08-15 Thread Mattias Gaertner
On Sun, 15 Aug 2004 10:04:45 +0200 [EMAIL PROTECTED] (Dr. Rolf Jansen) wrote: > On Sun, 15 Aug 2004 03:03:08 +0200 Mattias Gaertner wrote: > > > Where can I get information about the i386 extended and the ppc double > > format? Is it correct, that the ppc double is simply a reversed i386 > > d

Re: [fpc-pascal]Re: How to convert between double and extended? (Mattias Gaertner)

2004-08-15 Thread Florian Klaempfl
Mattias Gaertner wrote: I suggest to reverse the byte at the PPC side, and to "stream" the doubles to the i386 box, and to assign the double there to an extended variable. In this case there is no need for a special conversion routine between double and extended since this is handled by the m

Re: [fpc-pascal]Re: How to convert between double and extended? (Mattias Gaertner)

2004-08-15 Thread Mattias Gaertner
On Sun, 15 Aug 2004 12:27:10 +0200 Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > >>I suggest to reverse the byte at the PPC side, and to "stream" the > >>doubles to the i386 box, and to assign the double there to an extended > >>variable. In this case there is no nee

Re: [fpc-pascal]Re: How to convert between double and extended? (Mattias Gaertner)

2004-08-15 Thread Florian Klaempfl
Mattias Gaertner wrote: On Sun, 15 Aug 2004 12:27:10 +0200 Florian Klaempfl <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: I suggest to reverse the byte at the PPC side, and to "stream" the doubles to the i386 box, and to assign the double there to an extended variable. In this case there

Re: [fpc-pascal]Re: How to convert between double and extended? (Mattias Gaertner)

2004-08-15 Thread Mattias Gaertner
On Sun, 15 Aug 2004 12:48:22 +0200 Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > > On Sun, 15 Aug 2004 12:27:10 +0200 Florian Klaempfl <[EMAIL PROTECTED]> > > wrote: > > > > > >>Mattias Gaertner wrote: > >> > I suggest to reverse the byte at the PPC side, and t