|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
complex.h under OpenBSD
From: Ramiro Aceves (ea1abz
gmail.com)
Date: Fri Sep 02 2005 - 10:49:19 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello dear OpenBSD fans.
I am trying to compile a C program (Numerical Electromagnetics Code,
NEC, for antenna modelling) that needs complex numbers. I compiled it
with gcc on Linux with no special problems. It is an originaly fortran
written program that nowadays is translated into C for convenience.
I used to work with "complex.h" header file on Linux, but I have not
been able to find the complex.h file on OpenBSD.
In OpenBSD, I see that (as said in "info gcc") things like:
_Complex float variable_name;
__real__ variable;
__imag__ variable;
work perfectly.
Do you know where can I get the complex.h file, or please can you point
me in the right direction? I am puzzled now.
Thanks in advance
Ramiro.
EA1ABZ.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]