[util][math] Add the conversion to double (C++11 approach) before passing the integral argument to std::sqrt()