[Bug libstdc++/90638] Wrong results of pow(complex , T1) function when the T1 type differs from T and from int

2019-05-27 Thread Igor.Smirnov at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90638 --- Comment #8 from Igor Smirnov --- Let me add corrections to my previous post. 1. It needs to add (long double) before M_PI / LONG_MAX in the line long double phid = M_PI / LONG_MAX; in the above example. But the result is not changed signific

[Bug libstdc++/90638] Wrong results of pow(complex , T1) function when the T1 type differs from T and from int

2019-05-27 Thread Igor.Smirnov at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90638 --- Comment #7 from Igor Smirnov --- There can be still problems with big integer powers of complex numbers in the latest versions. I just don't see a single correct answer. As above the expected correct responses are marked by "should be" and th

[Bug libstdc++/90638] Wrong results of pow(complex , T1) function when the T1 type differs from T and from int

2019-05-27 Thread Igor.Smirnov at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90638 --- Comment #6 from Igor Smirnov --- Mark, thank you for useful advice. So, my conclusion is that the rules for resolution in the presence of function templates are not changed in gcc. For all versions of C++ the result generated by this site

[Bug libstdc++/90638] Wrong results of pow(complex , T1) function when the T1 type differs from T and from int

2019-05-27 Thread Igor.Smirnov at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90638 --- Comment #4 from Igor Smirnov --- Richard, thanks for checks. Yes this is correct result. I am wondering, do they correct this problem for complex<> and for inbuilt types only? Is there a possibility for you to run the following program on t

[Bug libstdc++/90638] Wrong results of pow(complex , T1) function when the T1 type differs from T and from int

2019-05-26 Thread Igor.Smirnov at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90638 --- Comment #2 from Igor Smirnov --- Strange... It came with freshiest available CentOS 7.6.

[Bug libstdc++/90638] New: Wrong results of pow(complex , T1) function when the T1 type differs from T and from int

2019-05-26 Thread Igor.Smirnov at cern dot ch
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: Igor.Smirnov at cern dot ch Target Milestone: --- Created attachment 46413 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46413&action=edit ou

[Bug c++/46444] New: termination of preprocessing by cpp when no include file is found

2010-11-11 Thread Igor.Smirnov at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46444 Summary: termination of preprocessing by cpp when no include file is found Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: normal Priority: P3 C