This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Fix typo in math/math.h
- From: Erich Ritz <erichritz at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 28 Oct 2010 20:10:39 -0700
- Subject: [PATCH] Fix typo in math/math.h
Hi,
This patch fixes a typo in the description for isinf() in math.h.
Erich
2010-10-28 Erich Ritz <erichritz@gmail.com>
* math/math.h (isinf): Description typo fix.
--- a/math/math.h
+++ b/math/math.h
@@ -261,7 +261,7 @@ enum
? __isnan (x) : __isnanl (x))
# endif
-/* Return nonzero value is X is positive or negative infinity. */
+/* Return nonzero value if X is positive or negative infinity. */
# ifdef __NO_LONG_DOUBLE_MATH
# define isinf(x) \
(sizeof (x) == sizeof (float) ? __isinff (x) : __isinf (x))