Boost.Real  1.0.0
Boost.Real numerical data type for real numbers representation using range arithmetic.
utils.hpp
1 #ifndef BOOST_REAL_UTILS_HPP
2 #define BOOST_REAL_UTILS_HPP
3 
4 #include <real/real.hpp>
5 #include <sstream>
6 
7 namespace boost {
8  namespace real {
9  std::string to_string(const boost::real::real& r) {
10  std::stringstream f;
11  f << r;
12  return f.str();
13  }
14  }
15 }
16 
17 #endif //BOOST_REAL_UTILS_HPP
Definition: boundary.hpp:7
boost::real::real is a C++ class that represent real numbers as abstract entities that can be dynamic...
Definition: real.hpp:54