This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]