Search and replace - rename mp_float cpp_float.

[SVN r75453]
This commit is contained in:
John Maddock
2011-11-12 13:15:33 +00:00
parent 47724a4221
commit c8eda6845e
21 changed files with 3386 additions and 651 deletions

View File

@@ -3,19 +3,19 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
#include <boost/multiprecision/mp_float.hpp>
#include <boost/multiprecision/cpp_float.hpp>
#include <iostream>
void t1()
{
//[mp_float_eg
//=#include <boost/multiprecision/mp_float.hpp>
//[cpp_float_eg
//=#include <boost/multiprecision/cpp_float.hpp>
using namespace boost::multiprecision;
// Operations at fixed precision and full numeric_limits support:
mp_float_100 b = 2;
std::cout << std::numeric_limits<mp_float_100>::digits << std::endl;
cpp_float_100 b = 2;
std::cout << std::numeric_limits<cpp_float_100>::digits << std::endl;
std::cout << log(b) << std::endl; // print log(2)
//]
}