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),dou
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, sin
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)).
best regards
Tomek
___
fpc-pascal
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)).
best regards
Tomek
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://l
Hi List.
I have discovered the following strange bug/problem.
Please check out the following program and tell me which part is right
and which is wrong,
or perhaps what i'm doing wrong in this case.
program project1;
{$mode objfpc}{$H+}
uses
math;
var
a,b: extended;
begin
if SameValu