C++ math library