[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave C++ libs ported to Borland C++ for OS/2
From: |
Wonkoo Kim |
Subject: |
Re: Octave C++ libs ported to Borland C++ for OS/2 |
Date: |
Thu, 09 Nov 95 16:56:48 -0500 |
> Date: Thu, 09 Nov 95 13:18:47 -0600
> From: "Alexey Goldin" <address@hidden>
> To: address@hidden
> Subject: Octave C++ libs ported to Borland C++ for OS/2
>
> Actually GCC has built in complex numbers:
>
> #include <stdio.h>
> void main()
> {
> __complex__ double a = 0 +1.0fi;
> printf("i^2 = %g\n", __real__ (a*a));
> }
>
>
> But not g++, unfortunately...
It's nice to know. Though this is not a C forum:
Can I convert a complex data to its complex conjugate with a builtin
keyword? Where can I find more about complex data type?
BTW, though I never used, g++ has Complex class.
Thanks.
//--------------------------------------------------------------------
// Wonkoo Kim
// address@hidden