Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Michael Van Canneyt


On Tue, 17 Jun 2008, Lourival Mendes wrote:

 Dear all users,
 
I'm looking for an unity for calculus of some more complex
 functions in Pascal than those avaiable in the Delphi math.pas unity.
 For a more specific case I would like to calculate FFT and IFFT of
 some signal data. Does the FPC has some? Is it possible to use it in
 Delphi ? Does someone knows if there is the translation of numerical
 recipes from C to Pascal??

The numerical recipes exist in a pascal version. They should be compilable
with FPC without problems.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Mark Morgan Lloyd

Mattias Gaertner wrote:

I would like to create a shot overview of the code quality of
FPC. Please help to complete the list:

Under i386 code size and speed is similar to Delphi and gcc (except
for some synthetic benchmarks).

Under x86_64 pentium code size and speed is similar to gcc (exc...).

Under x86_64 amd code size and speed is similar to D and not that far
away from gcc (exc...).

Under arm code size and speed is similar to  ? (exc...).

Under powerpc code size and speed is similar to  ? (exc...).

Under sparc code size and speed is similar to  ? (exc...).


I'm running i386 and SPARC, but in general am not being particularly 
thorough in removing symbols etc.


Do you have a specific test project to use as a benchmark, i.e. that I 
can compile and report it takes X bytes on disc and ps/top reports Y/Z 
about it?


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Lourival Mendes
Unfortunately I don't have the license for C version or anyone.

Is there any other source?? I would like to create or have a Math.pas
unity complete for scientific reasons...



2008/6/18, Michael Van Canneyt [EMAIL PROTECTED]:


 On Wed, 18 Jun 2008, Lourival Mendes wrote:

  But is it free avaiable? Or only in the book??

 I have the sources.
 If you have a license for the C version, then I can try to send them to you.

 Michael.
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal



-- 
Lourival J. Mendes Neto
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Marco van de Voort
 On Wed, 18 Jun 2008, Lourival Mendes wrote:
  
  Is there any other source?? I would like to create or have a Math.pas
  unity complete for scientific reasons...
 
 Maybe Jedi-math has what you need ?

And there is also numlib, though docs are lacking.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] code speed and size on various platforms

2008-06-17 Thread Lourival Mendes
Dear all users,

   I'm looking for an unity for calculus of some more complex
functions in Pascal than those avaiable in the Delphi math.pas unity.
For a more specific case I would like to calculate FFT and IFFT of
some signal data. Does the FPC has some? Is it possible to use it in
Delphi ? Does someone knows if there is the translation of numerical
recipes from C to Pascal??

Thanks

Lourival
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] code speed and size on various platforms

2008-06-17 Thread Paul Nicholls
Lourival Mendes [EMAIL PROTECTED] 
wrote in message 
news:[EMAIL PROTECTED]

Dear all users,

  I'm looking for an unity for calculus of some more complex
functions in Pascal than those avaiable in the Delphi math.pas unity.
For a more specific case I would like to calculate FFT and IFFT of
some signal data. Does the FPC has some? Is it possible to use it in
Delphi ? Does someone knows if there is the translation of numerical
recipes from C to Pascal??

Thanks

Lourival
___


Hi Lourival,
   perhaps this link below will help.  It is a free Delphi/Pascal 
implementation (source included) for a complext FFT and inverse FFT released 
under the Mozilla Public License Version 1.1.


http://www.simdesign.nl/fft.html

cheers,
Paul 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] code speed and size on various platforms

2008-06-06 Thread Mattias Gaertner
I would like to create a shot overview of the code quality of
FPC. Please help to complete the list:

Under i386 code size and speed is similar to Delphi and gcc (except
for some synthetic benchmarks).

Under x86_64 pentium code size and speed is similar to gcc (exc...).

Under x86_64 amd code size and speed is similar to D and not that far
away from gcc (exc...).

Under arm code size and speed is similar to  ? (exc...).

Under powerpc code size and speed is similar to  ? (exc...).

Under sparc code size and speed is similar to  ? (exc...).


Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal