number stuff is documented in the gcc info pages.
Look under "C Extensions" and then "Complex Numbers"
> I just tried to change a few complex declarations to _Complex on the big
> machine and they even seem compatible with the normal 'complex'
> declarations.
On Sat, 19 Nov 2005 18:55:33 + (UTC)
Tony Richardson <[EMAIL PROTECTED]> wrote:
>_Complex double x = 7 + 8i;
>x += -3 - 4i;
>x *= 2 + 5i;
>x /= 3 - 4i;
>printf("(%f,%f)\n", creal(x), cimag(x));
>
> but it does not have built-in support for all of the complex functions
> th
John Coppens jcoppens.com> writes:
> I'm tying to port a program of mine to cygwin, and have the following
> problem:
>
> complex.h is not found.
>
> The compiler complains about the missing complex.h and about the complex
> type in a file, even though I read gcc has complex C-99 support built-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Coppens wrote:
[snip]
> complex.h is not found.
>
> A search in the cygwin tree reveals:
>
> /usr/lib/i686-pc-mingw32/3.4.4/include/c++/backward/complex.h
> /usr/lib/i686-pc-cygwin/3.4.4/include/c++/backward/complex.h
> /usr/include/mingw/comple
Hi guys & gals.
I'm tying to port a program of mine to cygwin, and have the following
problem:
complex.h is not found.
A search in the cygwin tree reveals:
/usr/lib/i686-pc-mingw32/3.4.4/include/c++/backward/complex.h
/usr/lib/i686-pc-cygwin/3.4.4/include/c++/backward/complex.h
/usr/include/min
5 matches
Mail list logo