diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2013-08-27 14:39:21 +0200 |
---|---|---|
committer | Marc Glisse <glisse@gcc.gnu.org> | 2013-08-27 12:39:21 +0000 |
commit | 1c5abb53b9e4b94b788e79d25cf678f60808013f (patch) | |
tree | dff7b53ba7e86fec013026e12b4867aea5222118 /gcc/doc/extend.texi | |
parent | 2e100703fa86b17b9c05011fc73d0a8adf555908 (diff) | |
download | gcc-1c5abb53b9e4b94b788e79d25cf678f60808013f.zip gcc-1c5abb53b9e4b94b788e79d25cf678f60808013f.tar.gz gcc-1c5abb53b9e4b94b788e79d25cf678f60808013f.tar.bz2 |
re PR middle-end/57219 (__builtin_isinf_sign source comments more restrictive than documentation)
2013-08-27 Marc Glisse <marc.glisse@inria.fr>
PR middle-end/57219
* doc/extend.texi (__builtin_isinf_sign): Restrict the return
values to -1, 0 and 1.
From-SVN: r202021
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r-- | gcc/doc/extend.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 68d9426..151b7e9 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -8618,8 +8618,9 @@ type is @code{long double}. @end deftypefn @deftypefn {Built-in Function} int __builtin_isinf_sign (...) -Similar to @code{isinf}, except the return value is negative for -an argument of @code{-Inf}. Note while the parameter list is an +Similar to @code{isinf}, except the return value is -1 for +an argument of @code{-Inf} and 1 for an argument of @code{+Inf}. +Note while the parameter list is an ellipsis, this function only accepts exactly one floating-point argument. GCC treats this parameter as type-generic, which means it does not do default promotion from float to double. |