Home | History | Annotate | Download | only in mpreal

Lines Matching refs:mpfr

2 	Multi-precision real number class. C++ interface for MPFR library.

89 #define MPFR_USE_INTMAX_T // should be defined before mpfr.h
94 #else // MPFR relies on intmax_t which is available only in msvc2010
95 #undef MPREAL_HAVE_INT64_SUPPORT // Besides, MPFR - MPIR have to be compiled with msvc2010
122 #include <mpfr.h>
128 namespace mpfr {
391 // MPFR 2.4.0 Specifics
399 // MPFR 3.0.0 Specifics
456 // MPFR < 2.4.2 Specifics
536 // mpfr::mpreal=<DebugView> ; Show value only
537 // mpfr::mpreal=<DebugView>, <mp[0]._mpfr_prec,u>bits ; Show value & precision
2097 // MPFR 2.4.0 Specifics
2133 #endif // MPFR 2.4.0 Specifics
2136 // MPFR 3.0.0 Specifics
2153 #endif // MPFR 3.0.0 Specifics
2368 return mpfr::urandom(state);
2371 return mpfr::mpreal(std::rand()/(double)RAND_MAX);
2721 } // End of mpfr namespace
2729 inline void swap(mpfr::mpreal& x, mpfr::mpreal& y)
2731 return mpfr::swap(x, y);