Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!sun!imagen!atari!portal!cup.portal.com!Richard_s_Stoneston From: Richard_s_Stoneston@cup.portal.com Newsgroups: comp.lang.c Subject: Re: Complex type ? Message-ID: <1015@cup.portal.com> Date: Sun, 18-Oct-87 00:06:04 EDT Article-I.D.: cup.1015 Posted: Sun Oct 18 00:06:04 1987 Date-Received: Mon, 19-Oct-87 00:03:48 EDT References: <7264@brl-adm.ARPA> Organization: The Portal System (TM) Lines: 10 XPortal-User-Id: 1.1001.2477 Well, here's my two cents regarding the future use of type complex in C. As you may know, C's advantage is its smallness, and porting versions of the compiler around is easy enough to do because of this advantage. One reason that Fortran has a complex type is that it is a mathematical language. (So is APL= but it doesn't have complex) But, Fortran has NO structure definition in the language, so it is even more necessary for it to provide this type. C, on the other hand, can define types very easily through typedef and struct and enum. All you have to do is define the code to handle the types. You don't have to require that the complex definition, as an example, need to be inside the parser.