https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353
--- Comment #5 from joseph at codesourcery dot com ---
asin(sin(a)) is not safe (or at least not simple) because of arguments
outside [-pi/2, pi/2]. sin(asin(a)) is more appropriate with -ffast-math
because arguments outside [-1,1] are
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353
--- Comment #4 from Richard Biener ---
So asin(sin(a)) would be a no-brainer but sin(asin(a)) needs to handle a being
outside of [-1,1].
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353
--- Comment #3 from Alexander Zaitsev ---
FMPOV compiler should optimize as much as possible. If it's too time consuming,
I prefer some additional compiler option like
-f-do-some-math-time-consuming-optimization.
And yes - developers canot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353
--- Comment #1 from Alexander Zaitsev ---
The same issue about cos(acos(x)).