REVIEW - C Mathematical Function Handbook


Title:

C Mathematical Function Handbook

Author:

Louis Baker

ISBN:

Publisher:

Computing McGraw-Hill (1992)

Pages:

757pp

Reviewer:

Dann Corbit

Reviewed:

December 2000

Rating:

★☆☆☆☆


Originally reviewed by Francis Glassborow in C Vu 4.5

I have the book. It is mostly composed of code listings for Mr. Baker's attempts at coding all of Abramowitz&Stegun's "Mathematical Functions with Charts, Tables..." though there is a small amount of discussion.

The code [which is the lion's share of the book] is positively vile. Not very structured, and his constants are abominable. You are likely to find

a = (1.0/6.0)*b
to be coded as:
a=.66666*b;
and things of that ilk. While the enormous coverage of functions is commendable, and they do "work" for the most part, the code is really inferior. On the other hand, I don't know of any C book for mathematical functions that does a good job in the code department. "Numerical Recipes in C" (for instance) is well known for its icky[tm] code.

All of your other reviews are spot-on, but I don't think I would recommend this book. That's what puzzled me. You seemed to like it and we agree on all of your other reviews. I do find the book useful, since I like to write math functions as a hobby, and for hard to find functions, it does give me something to bench against.

I wish Steven L. Moshier would write a book. His Cephes code collection from NETLIB is positively sparkling by comparison.

- Dann Corbit Dcorbit@SolutionsIQ.com

Note that I wrote the original review eight years ago, not that that is an excuse but my understanding of coding has progressed a little since then. My thanks to Dann for taking the time to write the above. - Francis Glassborow

Book cover image courtesy of Open Library.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.