Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: moncam!paul@uunet.uu.net (Paul Hudson) Newsgroups: comp.sys.sun Subject: Re: Fortran 300 times faster than C for computing cosine Keywords: Software Message-ID: <8904191122.AA03874@marvin.moncam.uucp> Date: 6 May 89 00:49:44 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu Original-Date: Wed, 19 Apr 89 12:22:52 BST X-Sun-Spots-Digest: Volume 7, Issue 269, message 3 of 23 Whatever the question, the answer is GNU! Using GNU gcc wonderful extended asm statement + inline functions it's quite possible to have cos just generate the fp opcode. A header file to do it was recently posted to bug-gcc. I think I have it squirreled away somewhere .... Paul Hudson Snail mail: Monotype ADG Email: ...!ukc!acorn!moncam!paul Science Park, paul@moncam.co.uk Milton Road, Cambridge, CB4 4FQ