On 2012-05-10 11:16, Jonas Maebe wrote:
Torsten Bonde Christiansen wrote on Thu, 10 May 2012:
On 2012-05-10 10:45, t.wieckow...@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
Thanks. I can see that addid 0.0 to SameValue solves the problem. :)
Regards,
Torsten.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal