Mail Archives: djgpp/1999/11/22/09:07:07
In article <3838AF63 DOT 6DDD2A0F AT snetch DOT cpg DOT com DOT au> you wrote:
> Another way to do it is to have two floating point parts for both
> the real and imaginary parts and doing the equations for imaginary
> multiplication, etc. yourself.
OK, except that doing so, you disregard the works of the gcc makers
put into their implementation of '__complex__' datatypes. Check
info gcc "C Extensions" "complex"
for the details. Granted, you make your code unportable to other
compilers than GCC, that way. But it's quite a bit nicer than having
to do it all yourself...
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -