Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site a.sei.cmu.edu Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rochester!pt.cs.cmu.edu!a.sei.cmu.edu!tgl From: tgl@a.sei.cmu.edu (Tom Lane) Newsgroups: net.wanted,net.micro.68k Subject: Re: Wanted: trig fcns in C or for 68k Message-ID: <214@a.sei.cmu.edu> Date: Wed, 15-Jan-86 11:41:52 EST Article-I.D.: a.214 Posted: Wed Jan 15 11:41:52 1986 Date-Received: Fri, 17-Jan-86 07:17:03 EST References: <181@imagen.UUCP> Organization: Carnegie-Mellon University, CS/RI Lines: 16 Xref: watmath net.wanted:7942 net.micro.68k:1445 In <181@imagen.UUCP> geof writes: > I am in need of an implementation of floating point routines for the 68000. > Actually, the greatest need is for just the trig functions, following IEEE > floating point (I have the rest, but the trig functions are implemented > poorly). They could be implemented in assembly language or C. If you're willing to write the code yourself, there is a truly outstanding book called "Software Manual for the Elementary Functions", by Wm Cody & Wm Waite, Prentice-Hall, 1980. It gives flowcharts, coefficient values, and extensive discussion for implementation of first-rate routines for the basic transcendental functions. You can write code in assembly, C, or whatever given the info in the book; you do need a pre-existing set of basic arithmetic routines (+,-,*,/) which should be IEEE quality in order to get good results. tom lane (lane@a.cs.cmu.edu on ARPA)