complex numbers

Fri, 17 Oct 1997 11:35:47 +0100


I notice that complex and real numbers cannot be mixed 
in mathematical expressions.
The standard tells nothing, to my knowledge, about real 
being converted automatically to complex, but most 
compilers of other languages do exactly that.
I think the following expressions would be not only more 
confortable but also more efficient than the equivalent 
explicit conversion, since one cannot directly access to 
the real and imaginary fields of complex records:
complex=real
complex*/real
complex+-real
I also imagine such operations are supported by pxsc so 
it would be a step forward compatibility.
I wish to express my greetings for developers' work, 
attested by the continuous improvement of the features 
of gpc.
Best wishes
Fulvio Ciriaco.


fulvio ciriaco (system@petrella.cfilm.ba.cnr.it (fulvio ciriaco))

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es