[fpc-pascal] Loss of precision when using math.Max()

gtt at wolfgang-ehrhardt.de gtt at wolfgang-ehrhardt.de
Tue Jul 3 22:11:48 CEST 2018


Zitat von Florian Klämpfl <florian at 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?
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}.


But thanks anyhow.




More information about the fpc-pascal mailing list