From owner-help-octave at bevo dot che dot wisc dot edu Thu Nov 9 16:12:48 1995 Subject: Re: Octave C++ libs ported to Borland C++ for OS/2 From: "Wonkoo Kim" To: alexey at oddjob dot uchicago dot edu, help-octave@che.utexas.edu Date: Thu, 09 Nov 95 16:56:48 -0500 > Date: Thu, 09 Nov 95 13:18:47 -0600 > From: "Alexey Goldin" > To: help-octave at che dot utexas dot edu > Subject: Octave C++ libs ported to Borland C++ for OS/2 > > Actually GCC has built in complex numbers: > > #include > 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 // wkim+ at pitt dot edu