error compiling on mingw

namespace `std` as the functions are in that namespace in `<cmath>`