Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcnc!ece-csc!ncrcae!ncr-sd!hp-sdd!hplabs!sdcrdcf!psivax!nrcvax!sdd!dc From: dc@sdd.UUCP (Daniel Corbett) Newsgroups: comp.lang.c Subject: Re: Complex type ? Message-ID: <393@sdd.UUCP> Date: Fri, 8-May-87 20:48:59 EDT Article-I.D.: sdd.393 Posted: Fri May 8 20:48:59 1987 Date-Received: Sun, 10-May-87 05:19:38 EDT References: <7264@brl-adm.ARPA> Reply-To: dc@sdd.UUCP (Daniel Corbett) Organization: Software Design & Development Corp, Camarillo, CA Lines: 16 If you want to create your own types, use C++! It includes a complex library that one can do as follows: complex xx(3.5,4.0); /* declaration for complex variable xx * initialized to 3.5 + 4i */ complex yy = log(xx) + log(3.2); /* This express ion involves a mixture * of real values: log(3.2) and complex * values log(xx) and the sum. */ -dc