[fpc-devel] Extended in Win64

petr.kristan at epos.cz petr.kristan at epos.cz
Tue May 6 15:02:19 CEST 2008


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.)

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