[Lazarus] Problem with fpc-3.0.4 and double

zeljko zeljko at holobit.net
Wed Jan 31 19:18:29 CET 2018


Hi all,
In one of my applications I'm using someDouble1 <> someDouble2 for 
years, now got problem with fpc-3.0.4 (all previous fpc versions were ok 
(3.0.2, 3.0.0, 2.6.4, 2.6.2, 2.6.0...etc) + kylix + delphi7), so now 
must use IsSameValue(someDouble1,someDouble2) to get correct comparision 
of double types.

What exactly have been changed in fpc-3.0.4 with double types (or 
generally with floats) ?  Do I have to check all of my code now and 
change comparisions of doubles to use IsSameValue() ?

Anyone boomed by such problem ?

P.S: Sorry for writing in lazarus list, don't have fpc list account...

zeljko


More information about the Lazarus mailing list