This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Long double complex methods
I have made mistakes while using git. Sorry for that.
Thanks & Regards,
Aditya Upadhyay
On Wed, Jul 5, 2017 at 1:57 PM, Corinna Vinschen <vinschen@redhat.com> wrote:
> On Jul 5 03:26, Aditya Upadhyay wrote:
>> Removed blank lines from complex.h.
>> The modified patch for fix warnings , i am attaching here. Please check it once.
>
> No, the attached patch is only fixing whitespace, the rest of the patch
> is missing. Please make sure to send the complete patch.
>
>
> Thanks,
> Corinna
>
>> From bd596dd4125acbe7bd2922f25a44e4dbf31bc4b0 Mon Sep 17 00:00:00 2001
>> From: Aditya Upadhyay <aadit0402@gmail.com>
>> Date: Wed, 5 Jul 2017 03:20:19 +0530
>> Subject: [PATCH v2 2/2] Fixed warnings for some long double complex methods
>>
>> ---
>> newlib/libc/include/complex.h | 4 ----
>> 1 file changed, 4 deletions(-)
>>
>> diff --git a/newlib/libc/include/complex.h b/newlib/libc/include/complex.h
>> index af2a3ce..9ee40c0 100644
>> --- a/newlib/libc/include/complex.h
>> +++ b/newlib/libc/include/complex.h
>> @@ -130,8 +130,6 @@ float complex clog10f(float complex);
>>
>> #if defined(__CYGWIN__)
>> long double complex cacosl(long double complex);
>> -
>> -
>> long double complex ccosl(long double complex);
>> long double complex csinl(long double complex);
>> long double complex ctanl(long double complex);
>> @@ -144,8 +142,6 @@ long double complex ctanhl(long double complex);
>> long double complex cexpl(long double complex);
>> long double complex clogl(long double complex);
>> long double complex cpowl(long double complex, long double complex);
>> -
>> -
>> long double complex conjl(long double complex);
>> long double complex cprojl(long double complex);
>> #if __GNU_VISIBLE
>> --
>> 2.7.4
>>
>
>
> --
> Corinna Vinschen
> Cygwin Maintainer
> Red Hat
From c5c8470b69cfefe749b51e8b7caf71fa677d70fd Mon Sep 17 00:00:00 2001
From: Aditya Upadhyay <aadit0402@gmail.com>
Date: Wed, 5 Jul 2017 14:28:36 +0530
Subject: [PATCH v1] Fixed warnings for some long double complex methods
---
newlib/libc/include/complex.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/newlib/libc/include/complex.h b/newlib/libc/include/complex.h
index 89d6162..0a3ea97 100644
--- a/newlib/libc/include/complex.h
+++ b/newlib/libc/include/complex.h
@@ -24,10 +24,12 @@ float complex cacosf(float complex);
/* 7.3.5.2 The casin functions */
double complex casin(double complex);
float complex casinf(float complex);
+long double complex casinl(long double complex);
/* 7.3.5.1 The catan functions */
double complex catan(double complex);
float complex catanf(float complex);
+long double complex catanl(long double complex);
/* 7.3.5.1 The ccos functions */
double complex ccos(double complex);
@@ -74,6 +76,7 @@ float complex cexpf(float complex);
/* 7.3.7.2 The clog functions */
double complex clog(double complex);
float complex clogf(float complex);
+long double complex clogl(long double complex);
/* 7.3.8 Power and absolute-value functions */
/* 7.3.8.1 The cabs functions */
@@ -94,11 +97,13 @@ float complex cpowf(float complex, float complex);
/* 7.3.8.3 The csqrt functions */
double complex csqrt(double complex);
float complex csqrtf(float complex);
+long double complex csqrtl(long double complex);
/* 7.3.9 Manipulation functions */
/* 7.3.9.1 The carg functions */
double carg(double complex);
float cargf(float complex);
+long double cargl(long double complex);
/* 7.3.9.2 The cimag functions */
double cimag(double complex);
@@ -125,8 +130,6 @@ float complex clog10f(float complex);
#if defined(__CYGWIN__)
long double complex cacosl(long double complex);
-long double complex casinl(long double complex);
-long double complex catanl(long double complex);
long double complex ccosl(long double complex);
long double complex csinl(long double complex);
long double complex ctanl(long double complex);
@@ -137,10 +140,7 @@ long double complex ccoshl(long double complex);
long double complex csinhl(long double complex);
long double complex ctanhl(long double complex);
long double complex cexpl(long double complex);
-long double complex clogl(long double complex);
long double complex cpowl(long double complex, long double complex);
-long double complex csqrtl(long double complex);
-long double cargl(long double complex);
long double complex conjl(long double complex);
long double complex cprojl(long double complex);
#if __GNU_VISIBLE
--
2.7.4