Bug in gmp/mpfr/mpc, never ending ctan computation

Torbjörn Granlund tg at gmplib.org
Mon Nov 19 09:59:21 UTC 2018

[moved from gmp-devel]

Richard Biener <rguenther at suse.de> writes:

  #include <complex.h>
  int main()
    _Complex double x;
    __real x = 3.09126495087690770626068115234375e+8;
    __imag x = -4.045689747817175388336181640625e+8;
    volatile _Complex double y = ctan (x);
    return 0;

If we get a test case somewhat closer to GMP, then it is likely
somebody will look at it.

I expect the maintainers of library called by gcc (mpc?) would be helped
by seeing the actual call to their library.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list