This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
fix for patch error
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: fix for patch error
- From: Mumit Khan <khan at nanotech dot wisc dot edu>
- Date: Tue, 23 Nov 1999 15:27:30 -0600
The second, and the last, patching error. Please combine this with
the last one -- "typo fix" -- that I just sent.
Tue Nov 23 15:24:42 1999 Mumit Khan <khan@xraylith.wisc.edu>
* src/complex.cc: Fix macro line continuation.
Index: src/complex.cc
===================================================================
RCS file: /cvs/libstdc++/libstdc++/src/complex.cc,v
retrieving revision 1.16
diff -u -3 -p -r1.16 complex.cc
--- src/complex.cc 1999/11/22 20:03:05 1.16
+++ src/complex.cc 1999/11/23 21:22:40
@@ -86,7 +86,7 @@ namespace std
FCT(sincos)(__theta, &__sinx, &__cosx);
return complex<FLT>(__rho * __cosx, __rho * __sinx);
#else
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
complex<FLT> __tmpf(__rho * FCT(cos)(__theta),
__rho * FCT(sin)(__theta));
@@ -101,7 +101,7 @@ namespace std
template<>
complex<FLT>
cos(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(ccos)(__x._M_value));
@@ -114,7 +114,7 @@ namespace std
template<>
complex<FLT>
cosh(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(ccosh)(__x._M_value));
@@ -127,7 +127,7 @@ namespace std
template<>
complex<FLT>
exp(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(cexp)(__x._M_value));
@@ -140,7 +140,7 @@ namespace std
template<>
complex<FLT>
log(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(c_log)(__x._M_value));
@@ -153,7 +153,7 @@ namespace std
template<>
complex<FLT>
log10(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(clog10)(__x._M_value));
@@ -166,7 +166,7 @@ namespace std
template<>
complex<FLT>
pow(const complex<FLT>& __x, int __n)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(cexp) (__n * FCT(c_log)(__x._M_value)));
@@ -180,7 +180,7 @@ namespace std
template<>
complex<FLT>
pow(const complex<FLT>& __x, const FLT& __y)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(cexp) (__y * FCT(c_log)(__x._M_value)));
@@ -193,7 +193,7 @@ namespace std
template<>
complex<FLT>
pow(const complex<FLT>& __x, const complex<FLT>& __y)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(cpow)(__x._M_value, __y._M_value));
@@ -206,7 +206,7 @@ namespace std
template<>
complex<FLT>
pow(const FLT& __x, const complex<FLT>& __y)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(cexp)(__y._M_value * FCT(log)(__x)));
@@ -219,7 +219,7 @@ namespace std
template<>
complex<FLT>
sin(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(csin)(__x._M_value));
@@ -232,7 +232,7 @@ namespace std
template<>
complex<FLT>
sinh(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(csinh)(__x._M_value));
@@ -245,7 +245,7 @@ namespace std
template<>
complex<FLT>
sqrt(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(csqrt)(__x._M_value));
@@ -258,7 +258,7 @@ namespace std
template<>
complex<FLT>
tan(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(ctan)(__x._M_value));
@@ -271,7 +271,7 @@ namespace std
template<>
complex<FLT>
tanh(const complex<FLT>& __x)
-#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
+#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \
&& defined(_GLIBCPP_FLOAT_SPECIALIZATION)
{
complex<FLT> __tmpf(FCT(ctanh)(__x._M_value));