mpf_get_d

Torbjorn Granlund tg at gmplib.org
Thu Jun 14 15:25:53 CEST 2012


János Kukoda <kukodajanos at gmail.com> writes:

  I have problem with mpf_div and mpf_get_d. After 0.7/1.0 I will get
  0.53. Do you have any suggestion? I am testing in a MacBook Air 64
  bit. In iOS Simulator.
  
  double ll1 = mpf_get_d(a[i][k]);
  double ll2 = mpf_get_d(a[k][k]);
  mpf_div(l, a[i][k], a[k][k]);
  double ll = mpf_get_d(l);
  
Eh?  I think you forgot to include about every piece of relevant
information.

-- 
Torbjörn


More information about the gmp-bugs mailing list