This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][AArch64] Add inlines for signbit
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Wilco Dijkstra <wdijkstr at arm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 24 Apr 2015 17:25:45 +0000
- Subject: Re: [PATCH][AArch64] Add inlines for signbit
- Authentication-results: sourceware.org; auth=none
- References: <000001d07775$77c71880$67554980$ at com>
On Wed, 15 Apr 2015, Wilco Dijkstra wrote:
> Is there a reason this couldn't be done by default in math.h similar to isgreater (unlike
> __builtin_isinf et al, GCC implements signbit efficiently and correctly).
It is, however, not type-generic in GCC
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36757>, so you'd still need
to have a macro expansion checking sizeof.
--
Joseph S. Myers
joseph@codesourcery.com