Searched refs:mpfr (Results 1 - 3 of 3) sorted by relevance

/external/eigen/unsupported/test/
H A Dmpreal_support.cpp7 using namespace mpfr;
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.cpp73 namespace mpfr{ namespace
131 mpfr_init2(mp,(mp_prec_t) mpf_get_prec(u)); // (gmp: mp_bitcnt_t) unsigned long -> long (mpfr: mp_prec_t)
539 if(exp>0) out += "e+"+mpfr::toString<mp_exp_t>(exp,std::dec);
540 else out += "e"+mpfr::toString<mp_exp_t>(exp,std::dec);
H A Dmpreal.h89 #define MPFR_USE_INTMAX_T // should be defined before mpfr.h
122 #include <mpfr.h>
128 namespace mpfr { namespace
536 // mpfr::mpreal=<DebugView> ; Show value only
537 // mpfr::mpreal=<DebugView>, <mp[0]._mpfr_prec,u>bits ; Show value & precision
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
[all...]

Completed in 419 milliseconds