[Bug libstdc++/58625] std::signbit always converts to double
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 4 23:42:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58625
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-10-04
Ever confirmed|0 |1
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Well, now I see this can be certainly a correctness issue, for eg very small
negative long doubles. Thus I think we should certainly do the change anyway
for 4.9. For c_std I'm afraid we have to add overloads (I think, essentially
copy over the corresponding bits of c_global without constexpr). Can you send a
patch to the libstdc++-v3 mailing list? And, please, double check isnan and
isinf. Thanks!
More information about the Gcc-bugs
mailing list