math.cpp

#include <cmath>

// constants
M_PI                            // 3.14159
M_E                             // 2.71828

// rounding
floor(2.945)                    // 2
trunc(2.945)                    // 2

// numerical operations
exp(1)                          // 2.71828
sqrt(16)                        // 4
log(2)                          // 0.693147

// NOTE: no built-in for factorial

// EXAMPLE
sin(4 * M_PI / 180)             // 0.0697565

// find more at http://www.cplusplus.com/reference/cmath