Re: [fpc-pascal] Order of Precedence: FPC/Delphi vs Java

2018-10-03 Thread mailinglists
Hi Florian, Thanks for your reply. Initially I had all the data types as Double in the Object Pascal example. I then thought that maybe there is some auto data-type conversion, and tried storing the result in a Extended type instead. It made no difference. From your example, the only time th

[fpc-pascal] Order of Precedence: FPC/Delphi vs Java

2018-10-03 Thread mailinglists
I have this simple little test. My expected answer for all the calculations are 0 (zero), but both FPC and Delphi give different results. Java is the only one that seems consistent regarding the results. Can anybody explain this, especially the first 3 very small negative numbers that Delphi