summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-19 20:58:25 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-19 20:58:25 +0000
commit5cbfa3ba9b37d7ea5777ed1ce21c166a38ab8c72 (patch)
treea5a37b509df34cdf1bc5debdabd693b8ad13eeaf
parent2a5e86854333b14a007d05edd74dc3fb40b84b39 (diff)
downloadgcc-5cbfa3ba9b37d7ea5777ed1ce21c166a38ab8c72.tar.gz
* doc/extend.texi (__builtin_inf): Move statement about INFINITY
to __builtin_inff. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96748 138bc75d-0d04-0410-961f-82ee72b054a4
-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 3268f693cf6..4742196813b 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 057bdfa9fa2..1258a60949c 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)