[fpc-devel] Bug 29760 on FPC 3.0 Win64

LacaK lacak at zoznam.sk
Fri Mar 11 08:48:33 CET 2016


Dňa 11.3.2016 o 8:07 Ondrej Pokorny napísal(a):
> On 11.03.2016 7:58, LacaK wrote:
>>
>>>>
>>>> Then that indeed applies for Win64 as well.
>>>
>>> Maybe time to start thinking about 3.0.2, then.
>>> This is not a minor bug.
>>>
>>
>> IMO it is serious bug and users should be informed, that upgrading to 
>> FPC 3.0 (on some platforms) can leads to serious problems when 
>> currency and double are involved. (but who knows where all around it 
>> can pop up? ... we know at least about sqlDB, but there may be other 
>> libraries, components which are affected)
>>
>> May be we should put warning at: 
>> http://wiki.freepascal.org/User_Changes_3.0
>> and
>> http://wiki.freepascal.org/Lazarus_1.6.0_release_notes
>
> Please update the wiki!

But what is the correct information:

"FPC 3.0 has bug, which causes that mathematical operations involving 
currency and double data types give wrong results on platforms where 
currency is internaly represented as Int64 (f.e. Win64)"
?

-laco.




More information about the fpc-devel mailing list