in reply to Re^3: RFC: Getting Started with PDL (the Perl Data Language)
in thread RFC: Getting Started with PDL (the Perl Data Language)
I would expect that ld_pi and mpfr_pi would contain the same value, though there's no guarantee that I'm correct. I was actually hoping to have a bit of a play with this at work tonight, but a last minute breakdown made a complete mess of that plan. (I may yet take a closer look and send you an /msg, as it's not really on-topic for either this forum or this particular thread).mpfr_t mpfr_pi; long double ld_pi; mpfr_set_default_prec(sizeof(long double) * 8); mpfr_init(mpfr_pi); mpfr_const_pi(mpfr_pi, GMP_RNDN); ld_pi = mpfr_get_ld(mpfr_pi, GMP_RNDN);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: RFC: Getting Started with PDL (the Perl Data Language)
by zentara (Cardinal) on Feb 05, 2007 at 22:10 UTC | |
Re^5: RFC: Getting Started with PDL (the Perl Data Language)
by zentara (Cardinal) on Feb 05, 2007 at 17:31 UTC |