Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-25 Thread Michael Schnell
On 25.08.2017 01:32, Ralf Quint wrote: It's not a problem of "modern" Windows, but a problem of any 64bit x86 OS Supposedly of (m)any non-x64 archs as well. Hence relying on "extended" is not portable. -Michael ___ fpc-pascal maillist - fpc-pasc

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-25 Thread Michael Schnell
On 23.08.2017 14:11, Benito van der Zander wrote: Btw, anyone know about a BCD math implementation for Free Pascal, like it used to be implemented in DR CBASIC? (those were the days... ;-) ) Why do BCD math if you need a predefined number of correct digits after the "point" and a "limited" coun

Re: [fpc-pascal] H2pas tool vs others, C header translation

2017-08-25 Thread noreply
What about the BOOL issue.. We know that Boolean in fpc/delphi is not compatible with a C bool But it gets worse than that: even fpc/delphi's bool is not always compatible (but is sometimes). For example: http://blog.delphi-jedi.net/2008/09/25/bool-boolean-and-integer/ When one must use Inte

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-25 Thread Tomas Hajny
On Fri, August 25, 2017 14:31, Sven Barth via fpc-pascal wrote: . . >> Good point... It's in package rtl-objpas. I can see it included in the >> standard FPC 3.0.2 installation, but it's missing in 3.0.4 at the >> moment, >> because it got lost in the transition from fpcmake to fpmake apparently.

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-25 Thread Sven Barth via fpc-pascal
Am 24.08.2017 23:26 schrieb "Tomas Hajny" : > > On Thu, August 24, 2017 22:25, Ralf Quint wrote: > > On 8/24/2017 2:18 AM, Sven Barth via fpc-pascal wrote: > >> > >> Am 23.08.2017 02:16 schrieb "Paul Nance" >> >: > >> > > >> > Turbo Pascal also had a BCD unit. > >> > >> F