public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Aditya Upadhyay <aadit0402@gmail.com>
To: newlib@sourceware.org
Subject: Re: Long double complex methods
Date: Wed, 05 Jul 2017 09:02:00 -0000	[thread overview]
Message-ID: <CAMZxAxfBRFodtrBLsTZ0t1UZwqQmHgcT8oGEJH9gzqoXjHzzzg@mail.gmail.com> (raw)
In-Reply-To: <20170705082726.GA30902@calimero.vinschen.de>

[-- Attachment #1: Type: text/plain, Size: 1788 bytes --]

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

[-- Attachment #2: 0001-Fixed-warnings-for-some-long-double-complex-methods.patch --]
[-- Type: text/x-patch, Size: 2670 bytes --]

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


  reply	other threads:[~2017-07-05  9:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28 20:35 Aditya Upadhyay
2017-06-28 21:36 ` Dionna Amalie Glaze via newlib
2017-06-28 21:57   ` Joel Sherrill
2017-06-29 16:18     ` Joseph Myers
2017-06-29 16:31       ` Joel Sherrill
2017-06-29  6:39 ` Corinna Vinschen
2017-06-29  7:11   ` Aditya Upadhyay
2017-06-29 11:53     ` Corinna Vinschen
2017-06-29 12:04       ` Corinna Vinschen
2017-06-29 19:38         ` Yaakov Selkowitz
2017-06-29 21:17           ` Joel Sherrill
2017-06-30  9:11             ` Aditya Upadhyay
2017-07-04 21:31               ` Aditya Upadhyay
2017-07-04 21:56                 ` Aditya Upadhyay
2017-07-05  8:27                   ` Corinna Vinschen
2017-07-05  9:02                     ` Aditya Upadhyay [this message]
2017-07-05 12:40                       ` Corinna Vinschen
2022-11-08 18:31                       ` [newlib] Generally make all 'long double complex' methods available in <complex.h> Thomas Schwinge
2022-11-08 20:24                         ` Jeff Johnston
2017-06-29 13:47   ` Long double complex methods Joel Sherrill
  -- strict thread matches above, loose matches on Subject: below --
2017-06-28 13:53 Aditya Upadhyay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMZxAxfBRFodtrBLsTZ0t1UZwqQmHgcT8oGEJH9gzqoXjHzzzg@mail.gmail.com \
    --to=aadit0402@gmail.com \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).