Re: [fpc-devel] cdecl and constant parameters

2010-03-31 Thread Michael Van Canneyt
On Wed, 31 Mar 2010, Jonas Maebe wrote: On 31 Mar 2010, at 20:01, Seth Grover wrote: The documentation (http://www.freepascal.org/docs-html/ref/refsu56.html) says "A constant argument is passed by reference if its size is larger than a pointer. It is passed by value if the size is equal or

Re: [fpc-devel] FPC doesn't support big equations

2010-03-31 Thread Paulo Malheiros
Thanks ?ilvinas and Jonas, I'll update my FPC. Paulo Citando Jonas Maebe : On 31 Mar 2010, at 21:01, Paulo Malheiros wrote: I need the result of big mathematical expression but apparently FPC cannot process it. I've made a simple test program in C and was able to get the correct value. I

Re: [fpc-devel] FPC doesn't support big equations

2010-03-31 Thread Jonas Maebe
On 31 Mar 2010, at 21:01, Paulo Malheiros wrote: > I need the result of big mathematical expression but apparently FPC cannot > process it. I've made a simple test program in C and was able to get the > correct value. In FPC it gives "Invalid floating point operation", tested in > Windows7 (64

Re: [fpc-devel] cdecl and constant parameters

2010-03-31 Thread Jonas Maebe
On 31 Mar 2010, at 20:01, Seth Grover wrote: > The documentation > (http://www.freepascal.org/docs-html/ref/refsu56.html) says "A > constant argument is passed by reference if its size is larger than a > pointer. It is passed by value if the size is equal or is less then > the size of a native po

Re: [fpc-devel] FPC doesn't support big equations

2010-03-31 Thread Žilvinas Ledas
I need the result of big mathematical expression but apparently FPC cannot process it. I've made a simple test program in C and was able to get the correct value. In FPC it gives "Invalid floating point operation", tested in Windows7 (64bit) with FPC 2.2.4 (32 bit) and Ubuntu 9.10 (32bit) wit

[fpc-devel] FPC doesn't support big equations

2010-03-31 Thread Paulo Malheiros
Hello, I need the result of big mathematical expression but apparently FPC cannot process it. I've made a simple test program in C and was able to get the correct value. In FPC it gives "Invalid floating point operation", tested in Windows7 (64bit) with FPC 2.2.4 (32 bit) and Ubuntu 9.10

[fpc-devel] cdecl and constant parameters

2010-03-31 Thread Seth Grover
The documentation (http://www.freepascal.org/docs-html/ref/refsu56.html) says "A constant argument is passed by reference if its size is larger than a pointer. It is passed by value if the size is equal or is less then the size of a native pointer." I have a packed record type defined which contai

Re: [fpc-devel] bug report 12594

2010-03-31 Thread Jonas Maebe
On 31 Mar 2010, at 07:22, ABorka wrote: It seems it got closed, but I'm not sure it is really fixed (can't add notes now). http://bugs.freepascal.org/view.php?id=12594 You may want to post this message to the lazarus list instead. Jonas ___ fpc-