[fpc-devel] Currency * Double

2021-10-21 Thread LacaK via fpc-devel
Hi , what data type is result of multiplication of: (Currency * Double) on Win64 (and on Win32)?   c:=1115;   d:=1;   writeln(Round(c*d)); // gives -72967440737 I suppose that Currency*Double is Currency (on Win64) and result overflows MaxCurrency ...? (but then how FPC determines resu

Re: [fpc-devel] different fpc dir structure on different platforms?

2021-10-21 Thread Michael Van Canneyt via fpc-devel
On Wed, 20 Oct 2021, Jos Wegman via fpc-devel wrote: Hi, I have two virtual machines 1. Debian 11 2. Win 10 In both machines I want to install the fpc compiler from sourcecode. I create a base directory and two subdirectories. fpc -> fpcsrc   -> fpcbin I clone the sourcecode from gitlab