https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69132
Wang Xuancong changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69132
--- Comment #2 from Wang Xuancong ---
I assume rcp(b)=1/b, so a/b=a*(1/b)=a*rcp(b).
There is no longer a need to do the Newton-Rhapson method.
And of course, computing [ a * ((rcp(b) + rcp(b)) - (b * rcp(b) * rcp (b)))] is
slower than computing [
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: xuancong84 at gmail dot com
Target Milestone: ---
It is great that gcc compiler 4.8 comes with AVX optimization with -Ofast
option. However, I found an interesting but stupid bug, that it adds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68784
--- Comment #6 from Wang Xuancong ---
You are right! I have tested myself. MSVC outputs 0 instead of crashing
(crashing is what we expected), it is accepting compilation but not doing the
job correctly, that it passes a temporarily created copy o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68784
--- Comment #2 from Wang Xuancong ---
All standards are made by people. No standard is perfect. If a standard causes
more inconvenience to the users, then it is considered sub-optimal and has room
for improvement.
Thus, unless you can give me a
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: xuancong84 at gmail dot com
Target Milestone: ---
G++ compiler is weaker than MSVC on this point.
The following piece of code is compilable using MSVC but not in g