[fpc-pascal] SIGFPE with SameValue()

Jonas Maebe jonas.maebe at elis.ugent.be
Thu May 10 11:16:00 CEST 2012


Torsten Bonde Christiansen wrote on Thu, 10 May 2012:

> On 2012-05-10 10:45, t.wieckowski at gmail.com wrote:
>> it seams that MaxFloat get MaxDouble (FPC_HAS_TYPE_DOUBLE is defined)
>> but SameValue uses as Single when overload.
>> Works with SameValue(double(a),double(b),double(0)).
>
> How can that be, since I use Extended as type?

http://bugs.freepascal.org/view.php?id=21199


Jonas



More information about the fpc-pascal mailing list