This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix the isfinite typo


I had been wondering why mips and alpha failed some simple math tests.
Here is a patch for the typo. Please check it in.

Thanks.


H.J.
----
2002-04-23  H.J. Lu  <hjl@gnu.org>

	* include/math.h (isfinite): Fix a typo.

--- include/math.h.typo	Fri Apr 19 09:01:23 2002
+++ include/math.h	Tue Apr 23 21:25:13 2002
@@ -29,8 +29,8 @@ extern int __isnanl_internal (long doubl
 # undef isfinite
 # ifdef __NO_LONG_DOUBLE_MATH
 #  define isfinite(x) \
-     (sizeof (x) == (sizeof (float)					      \
-		     ? INTUSE(__finitef) (x) : INTUSE(__finite) (x)))
+     (sizeof (x) == sizeof (float)					      \
+      ? INTUSE(__finitef) (x) : INTUSE(__finite) (x))
 # else
 #  define isfinite(x) \
      (sizeof (x) == sizeof (float)					      \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]