Bug in gmp/mpfr/mpc, never ending ctan computation
Dennis Clarke
dclarke at blastwave.org
Tue Nov 20 03:16:17 UTC 2018
On 11/19/18 4:59 AM, Torbjörn Granlund wrote:
> [moved from gmp-devel]
>
>
> Richard Biener <rguenther at suse.de> writes:
>
> For
>>
> #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;
> }
>
Unrelated but interesting none the less, even Wolfram Alpha seems to
have troubles :
https://www.wolframalpha.com/input/?i=tan+(+3091264.95087690770626068115234375+-+4045689.747817175388336181640625i+)
That is with the test data divided by ten. Use the actual test data and
the output simply is blank. Interesting.
Dennis
More information about the gmp-bugs
mailing list