Am 03.07.2018 um 22:11 schrieb g...@wolfgang-ehrhardt.de:
Zitat von Florian Klämpfl <flor...@freepascal.org>:
But actually, I just found out that we have something like this already for
years:
{$minfpconstprec 64}
OK, then two questions remain: Why does is occur/apply only for (newer?) 3.1.1
versions?
I dug a little bit deeper, the reason is:
https://bugs.freepascal.org/view.php?id=25121
And why is there no option to select the maximum precision for the target FPU?
E.g. if extended has 10 bytes (no only an alias for double with 64-bit), it
should be possible to select {$minfpconstprec 80} or {$minfpconstprec max}.
From the FPC sources:
{ adding support for 80 bit here is tricky, since we can't really }
{ check whether the target cpu+OS actually supports it }
(comment not by me). I am not sure, if this is still valid, it is >10 years old.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal