[fpc-devel] General Decimal Arithmetic

2008-01-28 Thread john
Hi List, About 18 months ago I started on writng a General Decimal Arithmetic unit/library based on Mike Colishaw's work http://www2.hursley.ibm.com/decimal conforming to IEEE 854-1987 standard. Sickness prevented me from completing this work and I am now ready to give it another try. Before

Re: [fpc-devel] General Decimal Arithmetic

2008-01-28 Thread Florian Klaempfl
Did you have a look at the fmtbcd unit of fpc? I've no idea if it is conformant with IEEE 854-1987 though. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] LockFree Queue algorithm

2008-01-28 Thread Michael Schnell
I just finished a unit that provides a FIFO and similar stuff, so I'm very interested. IMHO you should not use push and put as this suggests a LiFo (Stack). With my unit I mostly intended to recreate the putc() and getc() functions in glibc (though I did neither use them nor took a look at

Re: [fpc-devel] LockFree Queue algorithm

2008-01-28 Thread Michael Schnell
Some Typos: It has putc() and getc() (with the same parameters (Integer!) as it's done in glibc), plus ungetc() and unputc() for reverse operations (which in fact implements LiFo Stack behavior). -Michael ___ fpc-devel maillist -

Re: [fpc-devel] General Decimal Arithmetic

2008-01-28 Thread Vincent Snijders
[EMAIL PROTECTED] schreef: 2. Are these operations presently available within Free Pascal? AFAIK, not distributed and installed by default with Free Pascal. There are a number of arbitrary precision libs around, for example bigint from: http://www.polarhome.com/~franco Vincent

Re: [fpc-devel] General Decimal Arithmetic

2008-01-28 Thread mm
Vincent Snijders a écrit : [EMAIL PROTECTED] schreef: 2. Are these operations presently available within Free Pascal? AFAIK, not distributed and installed by default with Free Pascal. There are a number of arbitrary precision libs around, for example bigint from:

[fpc-devel] ICE when compiling a 3-line program

2008-01-28 Thread Miguel Ojeda
Hi! When I was practicing my Pascal's skills yesterday before an exam, I managed to ICE fpc. I thought it was a bug in the fpc of my Debian distribution. However, I tried to compile the program in a server of my faculty and also fpc crashed there. I don't know if someone has reported this before

Re: [fpc-devel] ICE when compiling a 3-line program

2008-01-28 Thread Joost van der Sluis
Op maandag 28-01-2008 om 15:51 uur [tijdzone +0100], schreef Miguel Ojeda: When I was practicing my Pascal's skills yesterday before an exam, I managed to ICE fpc. Nice to hear that there are still ppl having exams for pascal. I thought it was a bug in the fpc of my Debian distribution.

Re: [fpc-devel] 64 bit version problem

2008-01-28 Thread Jonas Maebe
On 28 Jan 2008, at 17:00, Miklos Cserzo wrote: Jonas Maebe wrote: Try compiling with -Aas, because the internal assembler is quite broken for x86_64 in 2.2.0. That gives equivalent result as replacing the compact nested reference of the array element with the several simple references,

[fpc-devel] ppcrossarm build fails to compile rtl and packages

2008-01-28 Thread paul
I'm trying to build an arm/wince cross-compiler from a Windows XP host from 2.2.1 SVN (rev 10079). I can build a working ppcrossarm.exe from the fpc source folder by: make compiler_cycle CPU_TARGET=arm OS_TARGET=wince FPC=ppc386.exe However, when I try to build the RTL and packages with the

Re: [fpc-devel] ICE when compiling a 3-line program

2008-01-28 Thread Peter Vreman
On Jan 28, 2008 6:00 PM, Sergei Gorelkin [EMAIL PROTECTED] wrote: Joost van der Sluis wrote: I've compiled your program and it gives a nice error-message about a missing 'begin'. I also used fpc version 2.2.0, and that also works. (i386-linux and x86_64-linux) So was there also

Re: [fpc-devel] ICE when compiling a 3-line program

2008-01-28 Thread Miguel Ojeda
On Jan 28, 2008 6:00 PM, Sergei Gorelkin [EMAIL PROTECTED] wrote: Joost van der Sluis wrote: I've compiled your program and it gives a nice error-message about a missing 'begin'. I also used fpc version 2.2.0, and that also works. (i386-linux and x86_64-linux) So was there also

Re: [fpc-devel] ICE when compiling a 3-line program

2008-01-28 Thread Sergei Gorelkin
Joost van der Sluis wrote: I've compiled your program and it gives a nice error-message about a missing 'begin'. I also used fpc version 2.2.0, and that also works. (i386-linux and x86_64-linux) So was there also something else? Looks like there wasn't. At my site, with trunk version of

Re: [fpc-devel] 64 bit version problem

2008-01-28 Thread Miklos Cserzo
Jonas Maebe wrote: Try compiling with -Aas, because the internal assembler is quite broken for x86_64 in 2.2.0. That gives equivalent result as replacing the compact nested reference of the array element with the several simple references, i.e. 'score' cumulates non-zero values but the

Re: [fpc-devel] General Decimal Arithmetic

2008-01-28 Thread john
On Mon, Jan 28, 2008 at 12:53:26PM +0100, mm wrote: Vincent Snijders a écrit : [EMAIL PROTECTED] schreef: 2. Are these operations presently available within Free Pascal? AFAIK, not distributed and installed by default with Free Pascal. There are a number of arbitrary precision libs