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).
My copy of Cody & Waite is ISBN 0-13-822064-6. The exact title
is "Software Manual for the Elementary Functions".
I'm afraid I'm not very impressed with "Numerical Recipes".
I bought a copy many years ago, and found some humorous lapses
in the multi-precision FFT based math package. Things which
proved that they don't know what they are doing, I'm afraid.
Like subtracting one float from another repeatedly in a loop
instead of using fmod().
I've had good results with Cody & Waite, though it's getting
somewhat dated (1980) and some better stuff has come along,
or so I've heard.
But, if the hardware is being used, then coding something with
less accuracy is also going to be slower.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list