• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 ///////////////////////////////////////////////////////////////////////////////
2 //  Copyright 2012 John Maddock. Distributed under the Boost
3 //  Software License, Version 1.0. (See accompanying file
4 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 #ifdef TEST_MPFR
7 
8 #include <boost/multiprecision/mpfr.hpp>
9 
10 using namespace boost::multiprecision;
11 
main()12 int main()
13 {
14    mpfr_float_100 f(2);
15    mpfr_float_50  f2 = f;
16 }
17 
18 #else
19 
20 #error "Nothing to test without GMP!"
21 
22 #endif
23