[Lazarus] Problem with fpc-3.0.4 and double
zeljko
zeljko at holobit.net
Wed Jan 31 19:31:56 CET 2018
On 01/31/2018 07:27 PM, Ralf Quint via Lazarus wrote:
>
> Comparing any floating point value like this is pure luck when you claim
> that it worked in the past. In any programming language, unless maybe
> you are using one that by default utilizes BCD floats.
> Using binary floats, there are just too many values that can't be
> represented 100%, regardless of the length of the mantissa.
> https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accuracy_problems
Thanks Ralf, I know what is floating point arithmetic, but something is
changed between 3.0.2 and 3.0.4 and I want to know what it is.
zeljko
More information about the Lazarus
mailing list