[fpc-devel] Extended in Win64

petr.kristan at epos.cz petr.kristan at epos.cz
Tue May 6 15:26:54 CEST 2008


On Tue, May 06, 2008 at 03:02:19PM +0200, petr.kristan at epos.cz wrote:
> Hi.
> 
> Why on Win64 on AMD64 is Extended type 64bit same as double and on Win32, Linux32 and
> Linux64 is 80bit. It breaks for example this construction:
> 
> procedure Swap(var X, Y: Double); overload;
> procedure Swap(var X, Y: Extended); overload; 
> 
> (I know that extended type is defined as float with the best precision on the
> given platform.)

I now found some explanations:
http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg08690.html

And explanation that 80-bit precision on AMD64 is depracated and should be
replaced by SIMD.
http://developer.amd.com/documentation/articles/Pages/62720069_4.aspx

Petr

-- 
Ing. Petr Kristan
.
EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice
tel: +420 466335223    Czech Republic (Eastern Europe) 
fax: +420 466510709



More information about the fpc-devel mailing list