[fpc-pascal] Freepascal Floating Point Issue
Sven Barth
pascaldragon at googlemail.com
Mon Aug 28 08:04:39 CEST 2017
Am 28.08.2017 00:32 schrieb "Ched" <
charles.edouard.des.vastes.vignes at gmail.com>:
>
> Hello,
>
> I agree that the extended type is not portable and not as fast as double.
>
> But sometimes, we absolutely need numerical precision, so we have to
assume the costs in terms of runtime and possibly nonportability. When the
algorithms are nearly optimal, there is no room for software enhancement.
So, the programmers, not the OS makers !, has to do the choices about
accuracy, runtime and hardware configuration. For my numerical problems, I
absolutely need "full" extended, not just doubles.
>
> As the 18-19 digits extended type is availables in Freepascal for the
common Intel processors, I don't understand why we will have no more the
right to use it under x64 OS...
Because Microsoft declared it as deprecated. That means that should
Microsoft ever bring out a 64-bit only OS they can simply disable the FPU
handling in their kernel (e.g. saving the FPU state during a context
switch) and then you are doomed and they did even warn you about this,
cause they declared the x87 as deprecated from the beginning on Win64.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170828/fdc148cf/attachment.html>
More information about the fpc-pascal
mailing list