Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site orca.UUCP Path: utzoo!linus!decvax!tektronix!orca!andrew From: andrew@orca.UUCP (Andrew Klossner) Newsgroups: net.lang.c Subject: Re: C language hacking Message-ID: <1161@orca.UUCP> Date: Wed, 14-Nov-84 15:32:51 EST Article-I.D.: orca.1161 Posted: Wed Nov 14 15:32:51 1984 Date-Received: Fri, 16-Nov-84 01:40:42 EST References: <5715@brl-tgr.ARPA> Organization: Tektronix, Wilsonville OR Lines: 16 "It would also be nice if sin( x ) and cos( x ) could be computed simultaneously with reduced cost. I doubt if this is possible but would like to know if it is." Sure: sine = sin(x); cosine = sqrt(1.0 - sine*sine); Sqrt() is lots cheaper than cos(). :-) -- Andrew Klossner (decvax!tektronix!orca!andrew) [UUCP] (orca!andrew.tektronix@csnet-relay) [ARPA]