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

2017-08-22 Thread Marco van de Voort
In our previous episode, Dmitry Boyarintsev said: > > I'm using Chelper. (http://wiki.freepascal.org/Chelper) > It's my choice, because it preserves comments (which is usually an > important part of open-source libs) > plus, can be configured to handle library header-specific defines. > Naturally

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

2017-08-22 Thread noreply
On 2017-08-21 13:08, mar...@stack.nl wrote: In our previous episode, Michael Van Canneyt said: > I am looking to convert the GNU MPFR library header files, or hire > someone on a bounty to do it if header translation is not so easy with > h2pas and requires lots of hand work, and close checking.

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

2017-08-22 Thread noreply
On 2017-08-22 04:04, mar...@stack.nl wrote: In our previous episode, Dmitry Boyarintsev said: I'm using Chelper. (http://wiki.freepascal.org/Chelper) It's my choice, because it preserves comments (which is usually an important part of open-source libs) plus, can be configured to handle library

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-22 Thread Peter
Hi James, Its unlikely that 999.999 has an EXACT representation in floating point. 999.999002 maybe the closest value at your chosen precision. Extended type has more precision, but still probably won't be exact. Regards, Peter B ___ fpc-pa

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-22 Thread Sven Barth via fpc-pascal
Am 22.08.2017 18:11 schrieb "Peter" : > > Hi James, > > Its unlikely that 999.999 has an EXACT representation in floating point. > > 999.999002 maybe the closest value at your chosen precision. > > Extended type has more precision, but still probably won't be exact. Additionally Extended

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-22 Thread Mark Morgan Lloyd
On 21/08/17 22:15, Ralf Quint wrote: On 8/21/2017 3:02 PM, James Richters wrote:> I am having an issue with a simple floating point application. I am setting a variable to a specific value and immediately after I set it, it is not exactly what I set it to. Here's an example>>Draw_GX_Min:

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-22 Thread Ralf Quint
On 8/22/2017 1:39 PM, Mark Morgan Lloyd wrote: > On 21/08/17 22:15, Ralf Quint wrote: >> On 8/21/2017 3:02 PM, James Richters wrote:> I am having an issue >> with a simple floating point application.  I am setting a variable to >> a specific value and immediately after I set it,  it is not exactly

[fpc-pascal] Check In Interface Type Helpers

2017-08-22 Thread Anthony Walter
I just wanted to point out that revision 37023 Sven added type helper support for interfaces. Good job and thank you Sven! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-22 Thread Paul Nance
Turbo Pascal also had a BCD unit. On Aug 22, 2017 6:56 PM, "Ralf Quint" wrote: > On 8/22/2017 1:39 PM, Mark Morgan Lloyd wrote: > > On 21/08/17 22:15, Ralf Quint wrote: > >> On 8/21/2017 3:02 PM, James Richters wrote:> I am having an issue > >> with a simple floating point application. I am set

Re: [fpc-pascal] Check In Interface Type Helpers

2017-08-22 Thread Sven Barth via fpc-pascal
Am 23.08.2017 02:04 schrieb "Anthony Walter" : > > I just wanted to point out that revision 37023 Sven added type helper support for interfaces. > > Good job and thank you Sven! You're welcome. I wanted to add them for some time already :) Regards, Sven ___