C++ and math go well together.