Hi, could someone explain clearly what exactly Delphi does when I write "if a > b then", given that "var a, b: Extended"?
By trial and error I have found that it only checks the first 19 non-zero digits, e.g.
0.000...00001 > 0.0 is True for any number of zeros
98765432109876543220.0 >...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.