[fpc-pascal] speed of real calculations
Marc Santhoff
M.Santhoff at t-online.de
Wed Oct 18 12:38:53 CEST 2006
Am Mittwoch, den 18.10.2006, 11:57 +0200 schrieb Jonas Maebe:
> On 18 okt 2006, at 11:20, Marc Santhoff wrote:
>
> > Divisions do make a difference for me. How can this setting be
> > made, is
> > there a compiler sitch involved or some symbol to define?
>
> http://community.freepascal.org:10000/docs-html/rtl/math/
> setprecisionmode.html
>
> Always check the result, since on architectures where this cannot be
> changed you will get back whatever is used. On other architectures,
> like PPC, the precision simply depends on the arguments and cannot be
> changed at run time.
Ah, this was the missing part. I have thought all of this was
implemented only inside the compiler itself ...
Many thanks,
Marc
More information about the fpc-pascal
mailing list