On Sat, 2007-09-01 at 11:43 -0400, Matthew Saltzman wrote: > On Sat, 2007-09-01 at 09:41 -0500, Michael Hennebry wrote: > > > How much precision do you need? On what? Why? > > > > At least one person wrote a book on implementing the C standard library. > > It would probably be a better resource than Numerical Recipes. > > That would be PJ Plauger's The Standard C Library, Prentice Hall, 1992 > 0-13-131509-9. Most of his math lib implementation is based on Cody and > Waite, Software Manual for the Elementary Functions, Prentice Hall, 1980 > (sorry, he doesn't give the ISBN). > -- In general I use most references to give me a look at how others have solved the problem. Numerical Recipes often has useful information to help optimize the code further. I haven't read Plaugers latest, but I am sure it is quite good. I just didn't think of his. I also use a very nifty (but old) book called by Robert Garfinkel and George L Nemhauser. It was published by Wiley in 1972, but is one of those volumes that is sort of a standby for me. Regards, Les H