This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15367] Let gcc use __builtin_isinf
- From: "marc.glisse at normalesup dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 08 May 2013 19:02:05 +0000
- Subject: [Bug math/15367] Let gcc use __builtin_isinf
- Auto-submitted: auto-generated
- References: <bug-15367-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15367
--- Comment #7 from Marc Glisse <marc.glisse at normalesup dot org> 2013-05-08 19:02:05 UTC ---
(In reply to comment #6)
> judging from this mail it seems builtin_isinf_sign was explicitly added so it
> can be used in C libraries:
> http://gcc.gnu.org/ml/gcc-patches/2008-05/msg01067.html
>
> the patch documents +1 and -1 as return values, just as glibc does.
> The source is still the same in gcc 4.8.
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#index-g_t_005f_005fbuiltin_005fisinf_005fsign-3391
"Similar to isinf, except the return value is negative for an argument of
-Inf."
That doesn't seem to be restricted to +1 and -1. You may want to ask gcc for a
stricter doc.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.