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

2018-06-29 Thread Sven Barth via fpc-pascal
Am 29.06.2018 um 18:45 schrieb Alan Krause: I stumbled upon something the other day that was causing numerical differences between compiled Delphi and FPC code. Executing the following sample console application illustrates the issue clearly: program test; uses   math, SysUtils; var   arg1 :

Re: [fpc-pascal] GetAppConfigDir(False) in a Citrix environment

2018-06-29 Thread Graeme Geldenhuys
Oh wow, talk about perfect timing. This afternoon I had to look into a bug where our app also runs under a Citrix environment, and on reboot (or new session) the settings are lost. Thanks for the info Michael. G. On 06/28/18 07:49, Michael Van Canneyt wrote: >> Any thoughts on retrieving the sen

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

2018-06-29 Thread Alan Krause
I stumbled upon something the other day that was causing numerical differences between compiled Delphi and FPC code. Executing the following sample console application illustrates the issue clearly: program test; uses math, SysUtils; var arg1 : double; arg2 : double; res : double; begin