[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patches] Revert math.h, complex.h differences from glibc
- To: <patches@xxxxxxxxxx>
- Subject: [Patches] Revert math.h, complex.h differences from glibc
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Fri, 17 May 2013 23:42:02 +0000
EGLIBC has some differences in math.h and complex.h from the glibc
versions. The only effect of these is whether in the
__NO_LONG_DOUBLE_MATH cases calls to "long double" functions get
redirected to the "double" names with "asm". There's no need for EGLIBC
to differ from glibc in this regard, so I've applied this patch to revert
those differences.
Index: math/math.h
===================================================================
--- math/math.h (revision 23088)
+++ math/math.h (working copy)
@@ -109,10 +109,7 @@
nextafter) __attribute__ ((__const__));
# endif
# endif
-# endif
-# if defined __LDBL_COMPAT || defined __NO_LONG_DOUBLE_MATH
-
# undef __MATHDECL_1
# define __MATHDECL_2(type, function,suffix, args, alias) \
extern type __REDIRECT_NTH(__MATH_PRECNAME(function,suffix), \
Index: math/complex.h
===================================================================
--- math/complex.h (revision 23088)
+++ math/complex.h (working copy)
@@ -90,7 +90,7 @@
here unconditionally since `long double' is required in ISO C99. */
#if !(defined __NO_LONG_DOUBLE_MATH && defined _LIBC) \
|| defined __LDBL_COMPAT
-# if defined __LDBL_COMPAT || defined __NO_LONG_DOUBLE_MATH
+# ifdef __LDBL_COMPAT
# undef __MATHDECL_1
# define __MATHDECL_1(type, function, args) \
extern type __REDIRECT_NTH(__MATH_PRECNAME(function), args, function)
Index: ChangeLog.eglibc
===================================================================
--- ChangeLog.eglibc (revision 23088)
+++ ChangeLog.eglibc (working copy)
@@ -1,3 +1,7 @@
+2013-05-17 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/complex.h, math/math.h: Revert differences from glibc.
+
2012-11-17 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sunrpc/proto.h [IS_in_build] (REPORT_BUGS_TO): Remove.
--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx
_______________________________________________
Patches mailing list
Patches@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/patches