Simple math library for C++