system
Given the following post, respond as if you're commenting on Reddit:
human
Is there a comprehensive, CS-oriented book of common mathematical functions and operations and ways they can be implemented?

Let me first preface this question by saying I am not exactly sure what it is I am after.

I am looking for a book (or, generally, an overview) collating some mathematical operations and functions (and the algorithms that give them) and different ways they can be evaluated, computed, approximated and implemented. For example, in discussing trigonometric funcions, it would give series expansions that one could use to calculate the sine and cosine.

I am *not* looking for something like Eagle & Durand's *Handbook of Mathematical Functions*, and maybe not even the *NIST Handbook of Mathematical Functions*; is there an equivalent to NIST's handbook that approaches the algorithms and functions from a more CS or programming-oriented standpoint?
gpt
There is a book called *Matters Computational - Ideas, Algorithms, Code* which more or less seems to fit the description of what you're after. It covers some clever ways to implement various common mathematical operations from simple arithmetic operations like exponentiation to things like Fourier transforms. The book features example code written in a small, C-like subset of C++.