[fpc-pascal] Loss of precision when using math.Max()
Sven Barth
pascaldragon at googlemail.com
Fri Jul 13 19:06:29 CEST 2018
Martok <listbox at martoks-place.de> schrieb am Fr., 13. Juli 2018, 16:37:
> The other links were about intermediates of runtime calculations, so this
> change
> is correct:
> > I have added support for the directive $EXCESSPRECISION: it forces that
> all binary float operations are executed with
> > the highest available precision available for the currently selected FPU
> On that commit, am I blind or is this the same expression twice?
> <
> https://github.com/graemeg/freepascal/blob/340c0b3b/compiler/nadd.pas#L159
> >
>
That was this way already before that commit, but you're right that it
should be "t1" in one of the two. ;)
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180713/8e515539/attachment.html>
More information about the fpc-pascal
mailing list