This is the mail archive of the
mailing list for the GCC project.
Re: implement __builtin_copysign
On Fri, 28 Jan 2005, Paolo Carlini wrote:
> 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
Or, rather, an algorithm which achieves the Annex G treatment of NaNs and
infinities but also takes more care to avoid undue overflow (an attachment
to bug 18902 illustrates division with scaling to avoid overflow in
calculation of either numerator or denominator, but without dealing with
NaNs and infinities).
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
firstname.lastname@example.org (personal mail)
email@example.com (CodeSourcery mail)
firstname.lastname@example.org (Bugzilla assignments and CCs)