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

gtt at wolfgang-ehrhardt.de gtt at wolfgang-ehrhardt.de
Mon Jul 9 20:53:24 CEST 2018


Zitat von Florian Klaempfl <florian at freepascal.org>:
>
> I am happy to implement this in delphi mode, but it requires some  
> documentation references how delphi evaluates such expressions  
> (which precision is used when and why) and how they are handled in  
> expressions.

These links may be of interest:

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/About_Floating-Point_Arithmetic#Understand_the_Data_Flow

and

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Floating_point_precision_control_%28Delphi_for_x64%29






More information about the fpc-pascal mailing list