Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!amethyst!zeus!erik From: erik@zeus.uucp (Erik Schumacher) Newsgroups: comp.sys.next Subject: Trigonometric Functions and Math Library Message-ID: <2493@amethyst.math.arizona.edu> Date: 3 Mar 91 08:16:21 GMT References: Sender: news@amethyst.math.arizona.edu Reply-To: erik@zeus.UUCP (Erik Schumacher) Distribution: comp.sys.next Organization: Optical Sciences Center, Tucson, AZ Lines: 10 I wonder if anyone has made some effort to speed up the 68040 performance with respect to the evaluation of trigonometric functions. As far as I understand, the 040 does not have any trig. fctns 'build in', and therefore the normal routines from the math library are called. A friend who had similar problems on the sun, recommended to write a 040 specific routine for each trig. fctn., and to generate a inline function at each function call. Because trig. fctns. are essential for many programs, and because the normal evaluation is really slow compared to the overall speed of the 040, I guess there is a good incentive to do some tune up. - Only that I don't know enough to do it .....