Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!ucsd!pacbell.com!pacbell!att!mcdchg!laidbak!obdient!igloo!ddsw1!olsa99!ctk1!chris From: chris@ctk1.UUCP (Chris Old) Newsgroups: comp.lang.c++ Subject: Re: Efficiency of complex arithmetic in C++ Keywords: C++ complex Message-ID: <1990Aug14.064649.16364@ctk1.UUCP> Date: 14 Aug 90 06:46:49 GMT References: <2223@csm9a.UUCP> Reply-To: chris@ctk1.UUCP (Chris Old) Organization: /usr/lib/news/organization Lines: 16 In article <2223@csm9a.UUCP> dhale@csm9a.UUCP (Dave Hale) writes: >I am using AT&T C++ Release 2.1 for complex arithmetic, but >I find the resulting code to be much slower than that from doing >complex arithmetic in plain C, the hard way. >Any suggestions on how to avoid such temporaries or, in general, >on how to make complex arithmetic in AT&T C++ more efficient? A temporary solution (until the gurus sort out the real problem) is to do the complex arithmetic in plain C++, the hard way. -------------------- Chris Old (C.t.K.) : chris@ctk1.UUCP Tran Systems Ltd : ddsw1!olsa99!ctk1!chris