This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: implement __builtin_copysign
Richard Henderson wrote:
Well, we should do something, obviously, but it's not clear what.
It seems obvious that -std=c99 should default to 2, but there
should probably be a way to override that. Which means a new
command-line switch.
I wonder whether there will be any value, eventually, in keeping 3 different
algorithms.
Wouldn't be simpler and consistent just having the Annex G algorithm as
default both for C++ and C generally, and override it to the textbook one
(0) when -ffast-math (or -fcx-limited-range)?
Paolo.