Pelles C forum

Pelles C forum => General discussion => Topic started by: milen_prg on May 06, 2023, 02:30:24 PM

Title: about complex.h
Post by: milen_prg on May 06, 2023, 02:30:24 PM
As the complex.h was removed, please, suggest me mathematical/scientific library to use with Pelles C. Unfortunately the GSL can't be installed / used with Pelles C. I search for some extended mathematics library for Pelles C with no success.

P.S. Know that main complex library is simple to write myself from scratch, but if there is some more "complex" library (such that uses cblas for example  :) I must know).
Title: Re: about complex.h
Post by: John Z on May 06, 2023, 10:04:09 PM
Hi,

Don't know anything about the package but github still has possibly a version of complex.h looks
like renamed pnl_complex.h is the one you are missing?

https://github.com/pnlnum/pnl/tree/master/src/include/pnl

Win 64bit releases here https://github.com/pnlnum/pnl/releases  -including source code in zip .....

John Z
Title: Re: about complex.h
Post by: crun on April 12, 2026, 06:50:29 AM
> As the complex.h was removed,

I am trying to compile an old project from 2016-2018, which used complex.h, and the project file tags as C99

Can anyone suggest what version I should start with appropriate to those years, and before complex.h was removed?

Alternatively, perhaps it was never in the PellesC installer, and the OG programmer got if from somewhere else?
Title: Re: about complex.h
Post by: Pelle on April 12, 2026, 08:03:40 AM
<complex.h> was apparently added for version 5.0, removed for version 11.0 -- see:
https://www.pellesc.se/changes/changes_450_500.html,
https://www.pellesc.se/changes/changes_1000_1100.html

old installers:
https://www.pellesc.se/500/setup.exe,
https://www.pellesc.se/500/setup64.exe
...
https://www.pellesc.se/1000/setup.exe