aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-03-19 20:58:25 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2005-03-19 20:58:25 +0000
commit9c86fc0b287de9696d3606f683c9b26275360e35 (patch)
treea5a37b509df34cdf1bc5debdabd693b8ad13eeaf
parent3a1e400e06e1c512201ab3a5b98f9ad831e7a884 (diff)
downloadgcc-9c86fc0b287de9696d3606f683c9b26275360e35.zip
gcc-9c86fc0b287de9696d3606f683c9b26275360e35.tar.gz
gcc-9c86fc0b287de9696d3606f683c9b26275360e35.tar.bz2
extend.texi (__builtin_inf): Move statement about INFINITY to __builtin_inff.
* doc/extend.texi (__builtin_inf): Move statement about INFINITY to __builtin_inff. From-SVN: r96748
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3268f69..4742196 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2005-03-19 Joseph S. Myers <joseph@codesourcery.com>
+ * doc/extend.texi (__builtin_inf): Move statement about INFINITY
+ to __builtin_inff.
+
+2005-03-19 Joseph S. Myers <joseph@codesourcery.com>
+
* c.opt (ansi, std=iso9899:1990, std=iso9899:1999,
std=iso9899:199x): Correct descriptions.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 057bdfa..1258a60 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -5261,11 +5261,11 @@ type is @code{long double}.
@deftypefn {Built-in Function} double __builtin_inf (void)
Similar to @code{__builtin_huge_val}, except a warning is generated
if the target floating-point format does not support infinities.
-This function is suitable for implementing the ISO C99 macro @code{INFINITY}.
@end deftypefn
@deftypefn {Built-in Function} float __builtin_inff (void)
Similar to @code{__builtin_inf}, except the return type is @code{float}.
+This function is suitable for implementing the ISO C99 macro @code{INFINITY}.
@end deftypefn
@deftypefn {Built-in Function} {long double} __builtin_infl (void)