Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The amount of weight an evangelist carries with the almighty is measured in billigrahams.


devel / comp.lang.c / task: ideal micromodule for complex number

SubjectAuthor
* task: ideal micromodule for complex numberfir
+* Re: task: ideal micromodule for complex numberfir
|`* Re: task: ideal micromodule for complex numberfir
| `* Re: task: ideal micromodule for complex numberfir
|  +* Re: task: ideal micromodule for complex numberfir
|  |`* Re: task: ideal micromodule for complex numberfir
|  | `* Re: task: ideal micromodule for complex numberfir
|  |  `* Re: task: ideal micromodule for complex numberfir
|  |   `- Re: task: ideal micromodule for complex numberfir
|  `- Re: task: ideal micromodule for complex numberfir
`* Re: task: ideal micromodule for complex numberBonita Montero
 +* Re: task: ideal micromodule for complex numberfir
 |+- Re: task: ideal micromodule for complex numberChris M. Thomasson
 |`* Re: task: ideal micromodule for complex numberBonita Montero
 | `* Re: task: ideal micromodule for complex numberfir
 |  `* Re: task: ideal micromodule for complex numberBonita Montero
 |   `* Re: task: ideal micromodule for complex numberfir
 |    `* Re: task: ideal micromodule for complex numberBonita Montero
 |     `* Re: task: ideal micromodule for complex numberfir
 |      `* Re: task: ideal micromodule for complex numberBonita Montero
 |       +* Re: task: ideal micromodule for complex numberfir
 |       |`* Re: task: ideal micromodule for complex numberBonita Montero
 |       | +* Re: task: ideal micromodule for complex numberfir
 |       | |`* Re: task: ideal micromodule for complex numberfir
 |       | | +- Re: task: ideal micromodule for complex numberfir
 |       | | `- Re: task: ideal micromodule for complex numberArnold Ziffel
 |       | `- Re: task: ideal micromodule for complex numberKenny McCormack
 |       +* Re: task: ideal micromodule for complex numberChris M. Thomasson
 |       |`- Re: task: ideal micromodule for complex numberChris M. Thomasson
 |       `* Re: task: ideal micromodule for complex numberMalcolm McLean
 |        `* Re: task: ideal micromodule for complex numberBonita Montero
 |         `* Re: task: ideal micromodule for complex numberÖö Tiib
 |          `- Re: task: ideal micromodule for complex numberBonita Montero
 `- Re: task: ideal micromodule for complex numberArnold Ziffel

Pages:12
task: ideal micromodule for complex number

<b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20386&group=comp.lang.c#20386

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:2809:: with SMTP id f9mr4662180qkp.527.1644174976720;
Sun, 06 Feb 2022 11:16:16 -0800 (PST)
X-Received: by 2002:ad4:5942:: with SMTP id eo2mr8707763qvb.7.1644174976476;
Sun, 06 Feb 2022 11:16:16 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 6 Feb 2022 11:16:16 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.139; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.139
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
Subject: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 06 Feb 2022 19:16:16 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 108
 by: fir - Sun, 6 Feb 2022 19:16 UTC

i once had written about micromodules
in future extended c

micromodules are like simple types or
structures but (maybe among yet something)
allow you to redefine some syntaxes of usage
to fire your coded action

syntax how to do it is not yet established,
even some rough rules how to do it is yet not
clear, but there is a topic to consider

by 'micromodule for complex number' i mean
situation where toy got number p (p=x+iy) which you
may use by accesing fields p.x p.y abut also
p.fi p.r (where .r .fi ale module and phase)
- i mean four fields but only 2 floats of
internal storage

this situation makes this micromodule specially
practical imo

what i mean 'ideal' ? by ideal i mean especially
good from some important number of aspects..
especially there is some aspect that i think
on mind that if you code some code that operates
on complex number by hand you could code the
'partial path' when some conwersions from x,y <--> r,fi
may be ommitted, if you encapsulate the number
in microstructure some simple idea is to convert
it heavily and this would make it all slower,
the question among some other is for example if
it could be done to be as efficient as hand
code (it could be gard to obtain so on first
draft of thinking i could skip that problem and
just try to see how it could look like at all
at first draft at least

some basic thought/draft

struct complex
{ float x; //typical physical ones
float y; //accesible normally

//bellow additional syntax defined
//as a part of micromodule

def syntax (complex.fi)=(float f)
{
float r = sqrt(x*x+y*y);
x = cos(f)*r;
y = sin(f)*r;
}

def syntax ret (complex.fi)
{
return atan2(x,y);
}

def syntax (complex.r)=(float R)
{
float fi = atan2(x,y);
x = cos(f)*R;
y = sin(f)*R;
}

def syntax ret (complex.r)
{
return sqrt(x*x+y*y);
}

}

various problems here, but the meritum is
to present draft of the idea

syntax is probbaly not much good but at the
moment is how it is and ilustrates option
for varios syntax additions/enhancements

i think the usage would be like

complex c1;

c1.x=10;
c1.y=1;

printf("module %d phase %d", c1.r, c1.fi);

//the above would fire underlying sqrt and atan2
calculations

complex c2;

c2.r=1;
c2.fi=M_PI/4;

c1.x+=c2.x;
c1.y+=c2.y;

ofc more syntax could and should be added for
example for complex to complex addition to ba
able to write

c1 = c1 + c2;

Re: task: ideal micromodule for complex number

<81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20387&group=comp.lang.c#20387

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:514:: with SMTP id l20mr5965852qtx.187.1644175955368;
Sun, 06 Feb 2022 11:32:35 -0800 (PST)
X-Received: by 2002:ac8:5716:: with SMTP id 22mr5935119qtw.322.1644175955185;
Sun, 06 Feb 2022 11:32:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 6 Feb 2022 11:32:34 -0800 (PST)
In-Reply-To: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.139; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.139
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 06 Feb 2022 19:32:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 41
 by: fir - Sun, 6 Feb 2022 19:32 UTC

niedziela, 6 lutego 2022 o 20:16:42 UTC+1 fir napisał(a):
> some basic thought/draft
>
> struct complex
> {
> float x; //typical physical ones
> float y; //accesible normally
>
>
> //bellow additional syntax defined
> //as a part of micromodule
>
> def syntax (complex.fi)=(float f)
> {
> float r = sqrt(x*x+y*y);
> x = cos(f)*r;
> y = sin(f)*r;
> }
>
> def syntax ret (complex.fi)
> {
> return atan2(x,y);
> }
>
> def syntax (complex.r)=(float R)
> {
> float fi = atan2(x,y);
> x = cos(f)*R;
> y = sin(f)*R;
> }
>
> def syntax ret (complex.r)
> {
> return sqrt(x*x+y*y);
> }
>
> }
>
i think you get the idea, in fact first step i would like to improve is syntax, as good syntax makes thinking on it more pleasurable /attracting...when you redefine operators it not looks to much good imo, ewl as this c "leftside name rightside" is not much pleasurable itself

Re: task: ideal micromodule for complex number

<9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20390&group=comp.lang.c#20390

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:20ee:: with SMTP id 14mr8573021qvk.38.1644179658002;
Sun, 06 Feb 2022 12:34:18 -0800 (PST)
X-Received: by 2002:a05:620a:2702:: with SMTP id b2mr4871314qkp.52.1644179657868;
Sun, 06 Feb 2022 12:34:17 -0800 (PST)
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 6 Feb 2022 12:34:17 -0800 (PST)
In-Reply-To: <81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.41; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.41
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com> <81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 06 Feb 2022 20:34:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 80
 by: fir - Sun, 6 Feb 2022 20:34 UTC

niedziela, 6 lutego 2022 o 20:32:57 UTC+1 fir napisał(a):
> niedziela, 6 lutego 2022 o 20:16:42 UTC+1 fir napisał(a):
> > some basic thought/draft
> >
> > struct complex
> > {
> > float x; //typical physical ones
> > float y; //accesible normally
> >
> >
> > //bellow additional syntax defined
> > //as a part of micromodule
> >
> > def syntax (complex.fi)=(float f)
> > {
> > float r = sqrt(x*x+y*y);
> > x = cos(f)*r;
> > y = sin(f)*r;
> > }
> >
> > def syntax ret (complex.fi)
> > {
> > return atan2(x,y);
> > }
> >
> > def syntax (complex.r)=(float R)
> > {
> > float fi = atan2(x,y);
> > x = cos(f)*R;
> > y = sin(f)*R;
> > }
> >
> > def syntax ret (complex.r)
> > {
> > return sqrt(x*x+y*y);
> > }
> >
> > }
> >
> i think you get the idea, in fact first step i would like to improve is syntax, as good syntax makes thinking on it more pleasurable /attracting...when you redefine operators it not looks to much good imo, ewl as this c "leftside name rightside" is not much pleasurable itself

thinking on it seems that those () make some problem, this come to my mind as kinda
alternative )im not sure if some of typenames should be vritten here in <> obligatory or non obligatory

struct <complex>
{ <float> x; //typical physical ones
<float> y; //accesible normally

def syntax <complex>.fi= <float> f
{
float r = sqrt(x*x+y*y);
x = cos(f)*r;
y = sin(f)*r;
}

def syntax ret <complex>.fi
{
return atan2(x,y);
}

def syntax <complex>.r= <float> R
{
float fi = atan2(x,y);
x = cos(fi)*R;
y = sin(fi)*R;
}

def syntax ret <complex>.r
{
return sqrt(x*x+y*y);
}

}

Re: task: ideal micromodule for complex number

<stpbqo$fi0$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20391&group=comp.lang.c#20391

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Sun, 6 Feb 2022 21:41:58 +0100
Organization: A noiseless patient Spider
Lines: 4
Message-ID: <stpbqo$fi0$1@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 6 Feb 2022 20:42:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7c0946bd22da94fd85fda0b46fdca001";
logging-data="15936"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iJdWqTvHn2R12S1QleQBgJ0zBF+A9QLY="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:Frz9elVaOabWFFeDdWNyZMSI42A=
In-Reply-To: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
Content-Language: de-DE
 by: Bonita Montero - Sun, 6 Feb 2022 20:41 UTC

Better use C++ with the most convenient complex number support.
It supports arbitray types for the real and imaginary part of
the complex number and overloaded operators so you can handle
complex numbers like scalar datatypes.

Re: task: ideal micromodule for complex number

<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20392&group=comp.lang.c#20392

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:514:: with SMTP id l20mr6111113qtx.187.1644180582178;
Sun, 06 Feb 2022 12:49:42 -0800 (PST)
X-Received: by 2002:a05:622a:5ce:: with SMTP id d14mr6028421qtb.642.1644180582005;
Sun, 06 Feb 2022 12:49:42 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 6 Feb 2022 12:49:41 -0800 (PST)
In-Reply-To: <stpbqo$fi0$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.41; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.41
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com> <stpbqo$fi0$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 06 Feb 2022 20:49:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 27
 by: fir - Sun, 6 Feb 2022 20:49 UTC

niedziela, 6 lutego 2022 o 21:42:27 UTC+1 Bonita Montero napisał(a):
> Better use C++ with the most convenient complex number support.
> It supports arbitray types for the real and imaginary part of
> the complex number and overloaded operators so you can handle
> complex numbers like scalar datatypes.

and how they do that calculations? (i distaste c++ so i dont learn it)

can they

complex a(10,5);

cout <<"module "< a.r << "phase" << a.fi ;

a.fi+=(M_PI/180)*5; //add 5 degrees

cout <<"real "< a.x << "imaginary" << a.y ;

?

if thay can do they overcalculate it each time they use module, phase ?

(besides i dont 'better' use coz im not mainly focused on 'using' but on inner logic of language(s)

Re: task: ideal micromodule for complex number

<a14397f7-918b-42f8-ab38-7af06cbc2cd4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20393&group=comp.lang.c#20393

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:3709:: with SMTP id de9mr4852678qkb.746.1644180731853;
Sun, 06 Feb 2022 12:52:11 -0800 (PST)
X-Received: by 2002:ac8:4d45:: with SMTP id x5mr6005572qtv.404.1644180731737;
Sun, 06 Feb 2022 12:52:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 6 Feb 2022 12:52:11 -0800 (PST)
In-Reply-To: <9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.41; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.41
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com> <9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a14397f7-918b-42f8-ab38-7af06cbc2cd4n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 06 Feb 2022 20:52:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 18
 by: fir - Sun, 6 Feb 2022 20:52 UTC

niedziela, 6 lutego 2022 o 21:34:38 UTC+1 fir napisał(a):
> thinking on it seems that those () make some problem, this come to my mind as kinda
> alternative )im not sure if some of typenames should be vritten here in <> obligatory or non obligatory
> struct <complex>
> {
> <float> x; //typical physical ones
> <float> y; //accesible normally
> def syntax <complex>.fi= <float> f
> {
> float r = sqrt(x*x+y*y);
> x = cos(f)*r;
> y = sin(f)*r;
> }

ye, it seems that as some expressions look better with <float> and some with float i think it should be possible using it <int> <float> as using as typenames but not obligatory, just to being able to write nicer looking code

Re: task: ideal micromodule for complex number

<8357b4f0-3784-4b91-ab8a-5e47e6e7ce31n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20395&group=comp.lang.c#20395

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:e68:: with SMTP id jz8mr8620349qvb.114.1644181812229;
Sun, 06 Feb 2022 13:10:12 -0800 (PST)
X-Received: by 2002:a05:622a:c8:: with SMTP id p8mr5922784qtw.233.1644181812114;
Sun, 06 Feb 2022 13:10:12 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 6 Feb 2022 13:10:11 -0800 (PST)
In-Reply-To: <a14397f7-918b-42f8-ab38-7af06cbc2cd4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.41; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.41
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com> <9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>
<a14397f7-918b-42f8-ab38-7af06cbc2cd4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8357b4f0-3784-4b91-ab8a-5e47e6e7ce31n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 06 Feb 2022 21:10:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 44
 by: fir - Sun, 6 Feb 2022 21:10 UTC

niedziela, 6 lutego 2022 o 21:52:37 UTC+1 fir napisał(a):
> niedziela, 6 lutego 2022 o 21:34:38 UTC+1 fir napisał(a):
> > thinking on it seems that those () make some problem, this come to my mind as kinda
> > alternative )im not sure if some of typenames should be vritten here in <> obligatory or non obligatory
> > struct <complex>
> > {
> > <float> x; //typical physical ones
> > <float> y; //accesible normally
> > def syntax <complex>.fi= <float> f
> > {
> > float r = sqrt(x*x+y*y);
> > x = cos(f)*r;
> > y = sin(f)*r;
> > }
> ye, it seems that as some expressions look better with <float> and some with float i think it should be possible using it <int> <float> as using as typenames but not obligatory, just to being able to write nicer looking code

as to syntax improvements i also found idea to alternatively allowing to replace it by ending
dot

if(a)
{ a;
b;
c;
}

if(a)
a;
b;
c;
..

depends on editor and case it dont look so bad (i add it as im not sure if i already mentioned that) (depending on contex there also opening ":" instead of "{" can be used so {} -> :. but sometimes ":" is not needed and if " :" used it also slows to skip some parenthesis before it like

if a<10 : something; something; .

Re: task: ideal micromodule for complex number

<6f98ce4d-bb37-4c24-b824-7818a90c10acn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20397&group=comp.lang.c#20397

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:2809:: with SMTP id f9mr4887018qkp.527.1644183982403;
Sun, 06 Feb 2022 13:46:22 -0800 (PST)
X-Received: by 2002:a05:622a:11cc:: with SMTP id n12mr6161277qtk.34.1644183982238;
Sun, 06 Feb 2022 13:46:22 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 6 Feb 2022 13:46:22 -0800 (PST)
In-Reply-To: <8357b4f0-3784-4b91-ab8a-5e47e6e7ce31n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.178; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.178
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com> <9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>
<a14397f7-918b-42f8-ab38-7af06cbc2cd4n@googlegroups.com> <8357b4f0-3784-4b91-ab8a-5e47e6e7ce31n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6f98ce4d-bb37-4c24-b824-7818a90c10acn@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 06 Feb 2022 21:46:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 69
 by: fir - Sun, 6 Feb 2022 21:46 UTC

niedziela, 6 lutego 2022 o 22:10:40 UTC+1 fir napisał(a):
> niedziela, 6 lutego 2022 o 21:52:37 UTC+1 fir napisał(a):
> > niedziela, 6 lutego 2022 o 21:34:38 UTC+1 fir napisał(a):
> > > thinking on it seems that those () make some problem, this come to my mind as kinda
> > > alternative )im not sure if some of typenames should be vritten here in <> obligatory or non obligatory
> > > struct <complex>
> > > {
> > > <float> x; //typical physical ones
> > > <float> y; //accesible normally
> > > def syntax <complex>.fi= <float> f
> > > {
> > > float r = sqrt(x*x+y*y);
> > > x = cos(f)*r;
> > > y = sin(f)*r;
> > > }
> > ye, it seems that as some expressions look better with <float> and some with float i think it should be possible using it <int> <float> as using as typenames but not obligatory, just to being able to write nicer looking code
> as to syntax improvements i also found idea to alternatively allowing to replace it by ending
> dot
>
> if(a)
> {
> a;
> b;
> c;
> }
>
> if(a)
> a;
> b;
> c;
> .
>
> depends on editor and case it dont look so bad (i add it as im not sure if i already mentioned that) (depending on contex there also opening ":" instead of "{" can be used so {} -> :. but sometimes ":" is not needed and if " :" used it also slows to skip some parenthesis before it like
>
> if a<10 : something; something; .

so including this i think this may be revritten more like

struct <complex> this
{ <float> x, y;

def syntax this.fi : return atan2(x,y) .
def syntax this.r : return sqrt(x*x+y*y) .

def syntax this.r = <float> R :
{
<float> fi = this.fi;
x = cos(fi)*R;
y = sin(fi)*R;
}

def syntax this.fi = <float> f
{
float r = this.r;
x = cos(f)*r;
y = sin(f)*r;
}

}

Re: task: ideal micromodule for complex number

<stpu3b$8vt$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20401&group=comp.lang.c#20401

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Sun, 6 Feb 2022 17:53:46 -0800
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <stpu3b$8vt$2@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me>
<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Feb 2022 01:53:47 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6cc89422b94a0b3d3f2764ad14836577";
logging-data="9213"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19vEdwJN8vMEZ8xZXpdpn9Vo8e2LkMIt24="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:UqENSPa4MijcEpIUvXQpxsX/QZA=
In-Reply-To: <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
Content-Language: en-US
 by: Chris M. Thomasson - Mon, 7 Feb 2022 01:53 UTC

On 2/6/2022 12:49 PM, fir wrote:
> niedziela, 6 lutego 2022 o 21:42:27 UTC+1 Bonita Montero napisał(a):
>> Better use C++ with the most convenient complex number support.
>> It supports arbitray types for the real and imaginary part of
>> the complex number and overloaded operators so you can handle
>> complex numbers like scalar datatypes.
>
> and how they do that calculations? (i distaste c++ so i dont learn it)
>
> can they
>
> complex a(10,5);
>
> cout <<"module "< a.r << "phase" << a.fi ;
>
> a.fi+=(M_PI/180)*5; //add 5 degrees

Convert the complex to polar form, add the degrees, then convert back to
rectangular form.

>
> cout <<"real "< a.x << "imaginary" << a.y ;
>
> ?
>
>
> if thay can do they overcalculate it each time they use module, phase ?
>
> (besides i dont 'better' use coz im not mainly focused on 'using' but on inner logic of language(s)
>
>

Re: task: ideal micromodule for complex number

<d41bb6e7-3dd1-48d3-861b-d31b74d2ade4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20402&group=comp.lang.c#20402

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:5769:: with SMTP id r9mr9799559qvx.52.1644220935550;
Mon, 07 Feb 2022 00:02:15 -0800 (PST)
X-Received: by 2002:a05:622a:1055:: with SMTP id f21mr6985185qte.588.1644220935241;
Mon, 07 Feb 2022 00:02:15 -0800 (PST)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 7 Feb 2022 00:02:15 -0800 (PST)
In-Reply-To: <6f98ce4d-bb37-4c24-b824-7818a90c10acn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.169; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.169
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com> <9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>
<a14397f7-918b-42f8-ab38-7af06cbc2cd4n@googlegroups.com> <8357b4f0-3784-4b91-ab8a-5e47e6e7ce31n@googlegroups.com>
<6f98ce4d-bb37-4c24-b824-7818a90c10acn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d41bb6e7-3dd1-48d3-861b-d31b74d2ade4n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Mon, 07 Feb 2022 08:02:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 83
 by: fir - Mon, 7 Feb 2022 08:02 UTC

niedziela, 6 lutego 2022 o 22:46:51 UTC+1 fir napisał(a):
> niedziela, 6 lutego 2022 o 22:10:40 UTC+1 fir napisał(a):
> > niedziela, 6 lutego 2022 o 21:52:37 UTC+1 fir napisał(a):
> > > niedziela, 6 lutego 2022 o 21:34:38 UTC+1 fir napisał(a):
> > > > thinking on it seems that those () make some problem, this come to my mind as kinda
> > > > alternative )im not sure if some of typenames should be vritten here in <> obligatory or non obligatory
> > > > struct <complex>
> > > > {
> > > > <float> x; //typical physical ones
> > > > <float> y; //accesible normally
> > > > def syntax <complex>.fi= <float> f
> > > > {
> > > > float r = sqrt(x*x+y*y);
> > > > x = cos(f)*r;
> > > > y = sin(f)*r;
> > > > }
> > > ye, it seems that as some expressions look better with <float> and some with float i think it should be possible using it <int> <float> as using as typenames but not obligatory, just to being able to write nicer looking code
> > as to syntax improvements i also found idea to alternatively allowing to replace it by ending
> > dot
> >
> > if(a)
> > {
> > a;
> > b;
> > c;
> > }
> >
> > if(a)
> > a;
> > b;
> > c;
> > .
> >
> > depends on editor and case it dont look so bad (i add it as im not sure if i already mentioned that) (depending on contex there also opening ":" instead of "{" can be used so {} -> :. but sometimes ":" is not needed and if " :" used it also slows to skip some parenthesis before it like
> >
> > if a<10 : something; something; .
> so including this i think this may be revritten more like
>
>
> struct <complex> this
> {
> <float> x, y;
>
> def syntax this.fi : return atan2(x,y) .
> def syntax this.r : return sqrt(x*x+y*y) .
>
> def syntax this.r = <float> R :
> {
> <float> fi = this.fi;
> x = cos(fi)*R;
> y = sin(fi)*R;
> }
> def syntax this.fi = <float> f
> {
> float r = this.r;
> x = cos(f)*r;
> y = sin(f)*r;
> }
>
> }

or maybe (further syntax simplification)

struct complex
{
float x, y;
syntax complex.fi : return atan2(x,y) .
syntax complex.r : return sqrt(x*x+y*y) .
syntax complex.r = float R { float fi = complex.fi; x = cos(fi)*R; y = sin(fi)*R; }
syntax complex.fi = float f { float r = this.r; x = cos(f)*r; y = sin(f)*r; }
}

for now it seems the best i obtained as to syntax

Re: task: ideal micromodule for complex number

<979c0c89-2e19-444f-a26c-49c92f8eeddan@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20406&group=comp.lang.c#20406

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:5287:: with SMTP id kj7mr9761564qvb.86.1644222031754;
Mon, 07 Feb 2022 00:20:31 -0800 (PST)
X-Received: by 2002:a05:6214:226c:: with SMTP id gs12mr9780843qvb.4.1644222031638;
Mon, 07 Feb 2022 00:20:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 7 Feb 2022 00:20:31 -0800 (PST)
In-Reply-To: <d41bb6e7-3dd1-48d3-861b-d31b74d2ade4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.169; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.169
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com> <9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>
<a14397f7-918b-42f8-ab38-7af06cbc2cd4n@googlegroups.com> <8357b4f0-3784-4b91-ab8a-5e47e6e7ce31n@googlegroups.com>
<6f98ce4d-bb37-4c24-b824-7818a90c10acn@googlegroups.com> <d41bb6e7-3dd1-48d3-861b-d31b74d2ade4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <979c0c89-2e19-444f-a26c-49c92f8eeddan@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Mon, 07 Feb 2022 08:20:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 45
 by: fir - Mon, 7 Feb 2022 08:20 UTC

poniedziałek, 7 lutego 2022 o 09:02:39 UTC+1 fir napisał(a):
> or maybe (further syntax simplification)
>
> struct complex
> {
> float x, y;
> syntax complex.fi : return atan2(x,y) .
> syntax complex.r : return sqrt(x*x+y*y) .
> syntax complex.r = float R { float fi = complex.fi; x = cos(fi)*R; y = sin(fi)*R; }
> syntax complex.fi = float f { float r = this.r; x = cos(f)*r; y = sin(f)*r; }
> }
>
ewentually one could say that this .fi .r should be functions to denote that calculation is fired
complex c = { 10, 5};
float a = c.fi();
float r = c.r();
it has some sense (though in general i probably would want to cede it on programmer if he want to define syntax complex.fi : return atan2(x,y) . or syntax complex.fi() : return atan2(x,y) . )
but if so there is no syntax of defining assign that will fire a function

c.r()=10; //?

this clashes with normal c reading (when c.r() fires then assigns which is besides nonsense typicaly)

maybe something like c.(r)=10; ?
probably this is standable, and i think user probably should have freedom to state syntaxes as he wants

struct complex
{
float x, y;
syntax complex.fi() : return atan2(x,y) .
syntax complex.r() : return sqrt(x*x+y*y) .
syntax complex.(r) = float R { float fi = complex.fi; x = cos(fi)*R; y = sin(fi)*R; }
syntax complex.(fi) = float f { float r = this.r; x = cos(f)*r; y = sin(f)*r; }
}

i hope it not clashes with something further (though probably may)

Re: task: ideal micromodule for complex number

<964832e0-2976-410c-9e1d-4d10a8519361n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20407&group=comp.lang.c#20407

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:54c:: with SMTP id m12mr7099573qtx.300.1644222315399;
Mon, 07 Feb 2022 00:25:15 -0800 (PST)
X-Received: by 2002:ac8:7d88:: with SMTP id c8mr7228063qtd.119.1644222315255;
Mon, 07 Feb 2022 00:25:15 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 7 Feb 2022 00:25:15 -0800 (PST)
In-Reply-To: <979c0c89-2e19-444f-a26c-49c92f8eeddan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.169; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.169
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<81851059-378c-4909-a46b-cf1ab04b416an@googlegroups.com> <9a49ccbf-6f7b-480d-ab50-59debddac88dn@googlegroups.com>
<a14397f7-918b-42f8-ab38-7af06cbc2cd4n@googlegroups.com> <8357b4f0-3784-4b91-ab8a-5e47e6e7ce31n@googlegroups.com>
<6f98ce4d-bb37-4c24-b824-7818a90c10acn@googlegroups.com> <d41bb6e7-3dd1-48d3-861b-d31b74d2ade4n@googlegroups.com>
<979c0c89-2e19-444f-a26c-49c92f8eeddan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <964832e0-2976-410c-9e1d-4d10a8519361n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Mon, 07 Feb 2022 08:25:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 28
 by: fir - Mon, 7 Feb 2022 08:25 UTC

poniedziałek, 7 lutego 2022 o 09:20:54 UTC+1 fir napisał(a):
> maybe something like c.(r)=10; ?
> probably this is standable, and i think user probably should have freedom to state syntaxes as he wants
> struct complex
> {
> float x, y;
> syntax complex.fi() : return atan2(x,y) .
> syntax complex.r() : return sqrt(x*x+y*y) .
> syntax complex.(r) = float R { float fi = complex.fi; x = cos(fi)*R; y = sin(fi)*R; }
> syntax complex.(fi) = float f { float r = this.r; x = cos(f)*r; y = sin(f)*r; }
> }
>
> i hope it not clashes with something further (though probably may)

slight typos here i menat rather

struct complex
{
float x, y;
syntax complex.fi() : return atan2(x,y) .
syntax complex.r() : return sqrt(x*x+y*y) .
syntax complex.(r) = float R { float fi = complex.fi(); x = cos(fi)*R; y = sin(fi)*R; }
syntax complex.(fi) = float f { float r = complex.r(); x = cos(f)*r; y = sin(f)*r; }
}

Re: task: ideal micromodule for complex number

<stqma5$u3b$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20408&group=comp.lang.c#20408

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Mon, 7 Feb 2022 09:47:00 +0100
Organization: A noiseless patient Spider
Lines: 1
Message-ID: <stqma5$u3b$1@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me>
<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 7 Feb 2022 08:47:01 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="acd5e7b4931befd6472ee29a00031c31";
logging-data="30827"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KaQ+Pe9Bf3R7ACzDXEJNIn0aQfAztJiU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:ab5fmYmfuptawaq+DTsBELX9rBI=
In-Reply-To: <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
Content-Language: de-DE
 by: Bonita Montero - Mon, 7 Feb 2022 08:47 UTC

https://en.cppreference.com/w/cpp/numeric/complex

Re: task: ideal micromodule for complex number

<13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20410&group=comp.lang.c#20410

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:e68:: with SMTP id jz8mr9750307qvb.114.1644224512905;
Mon, 07 Feb 2022 01:01:52 -0800 (PST)
X-Received: by 2002:ad4:5942:: with SMTP id eo2mr10114610qvb.7.1644224512733;
Mon, 07 Feb 2022 01:01:52 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 7 Feb 2022 01:01:52 -0800 (PST)
In-Reply-To: <stqma5$u3b$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.68; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.68
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me> <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Mon, 07 Feb 2022 09:01:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 9
 by: fir - Mon, 7 Feb 2022 09:01 UTC

poniedziałek, 7 lutego 2022 o 09:47:31 UTC+1 Bonita Montero napisał(a):
> https://en.cppreference.com/w/cpp/numeric/complex

you know if you want to talk you should invest a little effort and write down explanation
yourself - this makes topic more prone to being talked...especialy for me whet is in c++ is quite
a side topic as to what im saying about (hovever i probably will look up in this link but after midday

Re: task: ideal micromodule for complex number

<stqnv9$97u$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20411&group=comp.lang.c#20411

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Mon, 7 Feb 2022 10:15:21 +0100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <stqnv9$97u$1@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me>
<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me>
<13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Feb 2022 09:15:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="acd5e7b4931befd6472ee29a00031c31";
logging-data="9470"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18azADbzWDwbO0EXU8SSUhRDFP0yO/o60I="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:0x+lN0QvF3qsnECis5yjAcxQicQ=
In-Reply-To: <13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
Content-Language: de-DE
 by: Bonita Montero - Mon, 7 Feb 2022 09:15 UTC

Am 07.02.2022 um 10:01 schrieb fir:

> poniedziałek, 7 lutego 2022 o 09:47:31 UTC+1 Bonita Montero napisał(a):
>> https://en.cppreference.com/w/cpp/numeric/complex
>
> you know if you want to talk you should invest a little effort and write down explanation
> yourself - this makes topic more prone to being talked...especialy for me whet is in c++ is quite
> a side topic as to what im saying about (hovever i probably will look up in this link but after midday

The above link shows everything complex<> is capable of.

Re: task: ideal micromodule for complex number

<144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20414&group=comp.lang.c#20414

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ac8:57d0:: with SMTP id w16mr7872024qta.171.1644242185841;
Mon, 07 Feb 2022 05:56:25 -0800 (PST)
X-Received: by 2002:ad4:5ccd:: with SMTP id iu13mr10504252qvb.89.1644242185694;
Mon, 07 Feb 2022 05:56:25 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 7 Feb 2022 05:56:25 -0800 (PST)
In-Reply-To: <stqnv9$97u$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.108; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.108
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me> <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me> <13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Mon, 07 Feb 2022 13:56:25 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 21
 by: fir - Mon, 7 Feb 2022 13:56 UTC

poniedziałek, 7 lutego 2022 o 10:15:54 UTC+1 Bonita Montero napisał(a):
> Am 07.02.2022 um 10:01 schrieb fir:
>
> > poniedziałek, 7 lutego 2022 o 09:47:31 UTC+1 Bonita Montero napisał(a):
> >> https://en.cppreference.com/w/cpp/numeric/complex
> >
> > you know if you want to talk you should invest a little effort and write down explanation
> > yourself - this makes topic more prone to being talked...especialy for me whet is in c++ is quite
> > a side topic as to what im saying about (hovever i probably will look up in this link but after midday
> The above link shows everything complex<> is capable of.

as for my eye it looks somewhat ugly...more would say to se a file of source with implementation of it (as what i give example is an implementation) but this is side topic.. as we in poland say "c++ jest dla kuców" (i mean i say it but in poland this would be like that and i dont know what is a translation of kuc in english..kuc is a pony, that kinda one in that context who go with a crowd of other ponys

Re: task: ideal micromodule for complex number

<str8is$s5l$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20415&group=comp.lang.c#20415

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Mon, 7 Feb 2022 14:58:52 +0100
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <str8is$s5l$1@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me>
<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me>
<13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me>
<144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Feb 2022 13:58:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="acd5e7b4931befd6472ee29a00031c31";
logging-data="28853"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OsW4ol9uVpHepyPzbYmHNpjZIjsyL+SI="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:qxrgfJRiOJ87GL+fwgpgZs9OA8g=
In-Reply-To: <144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
Content-Language: de-DE
 by: Bonita Montero - Mon, 7 Feb 2022 13:58 UTC

Am 07.02.2022 um 14:56 schrieb fir:
> poniedziałek, 7 lutego 2022 o 10:15:54 UTC+1 Bonita Montero napisał(a):
>> Am 07.02.2022 um 10:01 schrieb fir:
>>
>>> poniedziałek, 7 lutego 2022 o 09:47:31 UTC+1 Bonita Montero napisał(a):
>>>> https://en.cppreference.com/w/cpp/numeric/complex
>>>
>>> you know if you want to talk you should invest a little effort and write down explanation
>>> yourself - this makes topic more prone to being talked...especialy for me whet is in c++ is quite
>>> a side topic as to what im saying about (hovever i probably will look up in this link but after midday
>> The above link shows everything complex<> is capable of.
>
> as for my eye it looks somewhat ugly...more would say to se a file of source with implementation of it (as what i give example is an implementation) but this is side topic.. as we in poland say "c++ jest dla kuców" (i mean i say it but in poland this would be like that and i dont know what is a translation of kuc in english..kuc is a pony, that kinda one in that context who go with a crowd of other ponys

What's unly with complex<> ?

Re: task: ideal micromodule for complex number

<c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20417&group=comp.lang.c#20417

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ac8:7547:: with SMTP id b7mr22222qtr.464.1644247982821;
Mon, 07 Feb 2022 07:33:02 -0800 (PST)
X-Received: by 2002:a05:6214:2a8e:: with SMTP id jr14mr45138qvb.74.1644247982481;
Mon, 07 Feb 2022 07:33:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 7 Feb 2022 07:33:02 -0800 (PST)
In-Reply-To: <str8is$s5l$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.216; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.216
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me> <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me> <13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me> <144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
<str8is$s5l$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Mon, 07 Feb 2022 15:33:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 51
 by: fir - Mon, 7 Feb 2022 15:33 UTC

poniedziałek, 7 lutego 2022 o 14:59:29 UTC+1 Bonita Montero napisał(a):
> Am 07.02.2022 um 14:56 schrieb fir:
> > poniedziałek, 7 lutego 2022 o 10:15:54 UTC+1 Bonita Montero napisał(a):
> >> Am 07.02.2022 um 10:01 schrieb fir:
> >>
> >>> poniedziałek, 7 lutego 2022 o 09:47:31 UTC+1 Bonita Montero napisał(a):
> >>>> https://en.cppreference.com/w/cpp/numeric/complex
> >>>
> >>> you know if you want to talk you should invest a little effort and write down explanation
> >>> yourself - this makes topic more prone to being talked...especialy for me whet is in c++ is quite
> >>> a side topic as to what im saying about (hovever i probably will look up in this link but after midday
> >> The above link shows everything complex<> is capable of.
> >
> > as for my eye it looks somewhat ugly...more would say to se a file of source with implementation of it (as what i give example is an implementation) but this is side topic.. as we in poland say "c++ jest dla kuców" (i mean i say it but in poland this would be like that and i dont know what is a translation of kuc in english..kuc is a pony, that kinda one in that context who go with a crowd of other ponys
> What's unly with complex<> ?

its hard question to answer and im not in a mood today to answer such hard and side questions..

i recently was saying to emo colegue girl from chat why i dont like this pony language c++

one aspect in c++ code is like a bunch of plastic layers (come like rings on onion but elss natural) one on another - where in c (at least good written but i suspect most people write not bad c) you got stright 'meat' (stright matter)

those c++ layers ale arso idiotic (at least big part of it is idiotic)

i hope my own extensions (all that micromodule stuff etc) will not go out far from this real metter (at least i hope so but to kip some things oryginal c quality is hard)

c++ is btw very ugly, i dont write in c++ but probably you may find some
examples of usage which are not looking very bad but the underlying rules and implementation is disaster to me - c++ is a cobol of last decades imo (as cobol was considered being a symbol for ugly language as i heard, c++ is in facty probebly worse)

but well this is my view on it and dont treat it as a reason to make war as i dont totaly care what c++ ponys do, our worlds do not cross

Re: task: ideal micromodule for complex number

<strvad$g62$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20420&group=comp.lang.c#20420

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Mon, 7 Feb 2022 21:26:52 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <strvad$g62$1@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me>
<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me>
<13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me>
<144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
<str8is$s5l$1@dont-email.me>
<c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Feb 2022 20:26:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="acd5e7b4931befd6472ee29a00031c31";
logging-data="16578"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dzf4UbaO4V6cdqUUoUPlyF4A/2iJCKU8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:/jGeMS9OvBmchau0mGpcCNjsz+U=
In-Reply-To: <c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
Content-Language: de-DE
 by: Bonita Montero - Mon, 7 Feb 2022 20:26 UTC

Am 07.02.2022 um 16:33 schrieb fir:

> poniedziałek, 7 lutego 2022 o 14:59:29 UTC+1 Bonita Montero napisał(a):

>> What's unly with complex<> ?

> its hard question to answer and im not in a mood today to answer such hard and side questions..

If you say it is ugly you'd know why.

> one aspect in c++ code is like a bunch of plastic layers (come like rings on onion but elss natural) one on another - where in c (at least good written but i suspect most people write not bad c) you got stright 'meat' (stright matter)

"Plastic layers" - polemic.

> those c++ layers ale arso idiotic (at least big part of it is idiotic)

C++ does have only a thin abstraction-layet in its classes
and not multiple layers.

> c++ is btw very ugly, ...

With C++ you're multiple times productive than in C and the code
is much more readable and maintainable.

Re: task: ideal micromodule for complex number

<82c0bb48-f092-44fc-bee2-a0c0d6814aa4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20421&group=comp.lang.c#20421

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:5aa2:: with SMTP id u2mr1061128qvg.127.1644266823073;
Mon, 07 Feb 2022 12:47:03 -0800 (PST)
X-Received: by 2002:ac8:5716:: with SMTP id 22mr976426qtw.322.1644266822912;
Mon, 07 Feb 2022 12:47:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 7 Feb 2022 12:47:02 -0800 (PST)
In-Reply-To: <strvad$g62$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.210; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.210
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me> <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me> <13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me> <144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
<str8is$s5l$1@dont-email.me> <c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
<strvad$g62$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <82c0bb48-f092-44fc-bee2-a0c0d6814aa4n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Mon, 07 Feb 2022 20:47:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 55
 by: fir - Mon, 7 Feb 2022 20:47 UTC

poniedziałek, 7 lutego 2022 o 21:27:27 UTC+1 Bonita Montero napisał(a):
> Am 07.02.2022 um 16:33 schrieb fir:
>
> > poniedziałek, 7 lutego 2022 o 14:59:29 UTC+1 Bonita Montero napisał(a):
>
> >> What's unly with complex<> ?
>
> > its hard question to answer and im not in a mood today to answer such hard and side questions..
> If you say it is ugly you'd know why.

usually but not strictly always..you may imagine cases when you see something is ugly but its hard to explain exactly why
in c++ case it is yet a bit different...it is ugly becouse i could show you much more good alternatives but it would be a long list and i dont take the task, got better things to do

> > one aspect in c++ code is like a bunch of plastic layers (come like rings on onion but elss natural) one on another - where in c (at least good written but i suspect most people write not bad c) you got stright 'meat' (stright matter)
> "Plastic layers" - polemic.
> > those c++ layers ale arso idiotic (at least big part of it is idiotic)
> C++ does have only a thin abstraction-layet in its classes
> and not multiple layers.
>
depends, it depend how people use it and i dont see a much c++ codes (in last months i dont coded at all nor was interesting in reading about coding at all, now im back for a while)
hovewer in cases which i got in memory i seen a lot of names and syntactic/objectove knots covering underlaying real matter in preposterous way
by preposterous i mean that ratio of this covering names to that real matter is preposterously
high
java btw as far as i know it (know it yet less than c++) is even worse

in general i think c is for people who like to understand things (people focused on reazon) where pony languages are for ponys focused on puting things to their memory and avoid reasoning as far as they can (or at least enough far for them)

> > c++ is btw very ugly, ...
>
> With C++ you're multiple times productive than in C and the code
> is much more readable and maintainable.

its not true -- it was discussed here some years ago and it was stated that this productivity depends on libraries you got on hand not on language ...readability and maintability depends how clean you write some may write very readable c ... though who knows maybe for ponys c++ is better for non ponys c is better for me c is unparalably better

besides i do not subscribe to that kind of discusion based on generalities ...its time waste

Re: task: ideal micromodule for complex number

<sts7lp$b9a$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20424&group=comp.lang.c#20424

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Mon, 7 Feb 2022 14:49:27 -0800
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <sts7lp$b9a$1@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me>
<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me>
<13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me>
<144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
<str8is$s5l$1@dont-email.me>
<c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
<strvad$g62$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Feb 2022 22:49:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6cc89422b94a0b3d3f2764ad14836577";
logging-data="11562"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/s9dlFvBVjmXiT1iG+ru+JXN08Ba5xUYg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:Yhb81B76UwUHgbwRrpJMW/Co1cs=
In-Reply-To: <strvad$g62$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Mon, 7 Feb 2022 22:49 UTC

On 2/7/2022 12:26 PM, Bonita Montero wrote:
> Am 07.02.2022 um 16:33 schrieb fir:
>
>> poniedziałek, 7 lutego 2022 o 14:59:29 UTC+1 Bonita Montero napisał(a):
>
>>> What's unly with complex<> ?
>
>> its hard question to answer and im not in a mood today to answer such
>> hard and side questions..
[...]
>> c++ is btw very ugly, ...
>
> With C++ you're multiple times productive than in C and the code
> is much more readable and maintainable.

Agreed. Fwiw, std::complex is very useful. One thing I might want to add
to the standard would be to get at the n-ary roots of a complex number.
I had to code it up myself in order to store data in the roots of a
complex number:

https://groups.google.com/g/comp.lang.c++/c/bB1wA4wvoFc/m/ozDpUBlTAAAJ

Re: task: ideal micromodule for complex number

<sts7o1$b9a$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20425&group=comp.lang.c#20425

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Mon, 7 Feb 2022 14:50:40 -0800
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <sts7o1$b9a$2@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me>
<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me>
<13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me>
<144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
<str8is$s5l$1@dont-email.me>
<c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
<strvad$g62$1@dont-email.me> <sts7lp$b9a$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Feb 2022 22:50:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6cc89422b94a0b3d3f2764ad14836577";
logging-data="11562"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1847q4l9NAk7kTKcP1Anf2RQQ70YGefxw8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:Y1nZ46slKZs0qxEu8XU9VJZKEEA=
In-Reply-To: <sts7lp$b9a$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Mon, 7 Feb 2022 22:50 UTC

On 2/7/2022 2:49 PM, Chris M. Thomasson wrote:
> On 2/7/2022 12:26 PM, Bonita Montero wrote:
>> Am 07.02.2022 um 16:33 schrieb fir:
>>
>>> poniedziałek, 7 lutego 2022 o 14:59:29 UTC+1 Bonita Montero napisał(a):
>>
>>>> What's unly with complex<> ?
>>
>>> its hard question to answer and im not in a mood today to answer such
>>> hard and side questions..
> [...]
>>> c++ is btw very ugly, ...
>>
>> With C++ you're multiple times productive than in C and the code
>> is much more readable and maintainable.
>
> Agreed. Fwiw, std::complex is very useful. One thing I might want to add
> to the standard would be to get at the n-ary roots of a complex number.
> I had to code it up myself in order to store data in the roots of a
> complex number:
>
> https://groups.google.com/g/comp.lang.c++/c/bB1wA4wvoFc/m/ozDpUBlTAAAJ
>

https://groups.google.com/g/comp.lang.c++/c/05XwgswUnDg

Re: task: ideal micromodule for complex number

<sttk0c$sr6$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20428&group=comp.lang.c#20428

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: task: ideal micromodule for complex number
Date: Tue, 8 Feb 2022 12:26:04 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <sttk0c$sr6$1@dont-email.me>
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me>
<ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me>
<13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me>
<144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
<str8is$s5l$1@dont-email.me>
<c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
<strvad$g62$1@dont-email.me>
<82c0bb48-f092-44fc-bee2-a0c0d6814aa4n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 8 Feb 2022 11:26:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="381ca48658c6425b7bde3ad7e7588132";
logging-data="29542"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/G8WfSSFI/cK66aj2bzOYA0ApNFwRi4V8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:Vy//ec/jn14PwCvpcBIiZBJSY5U=
In-Reply-To: <82c0bb48-f092-44fc-bee2-a0c0d6814aa4n@googlegroups.com>
Content-Language: de-DE
 by: Bonita Montero - Tue, 8 Feb 2022 11:26 UTC

Am 07.02.2022 um 21:47 schrieb fir:

>>> its hard question to answer and im not in a mood today to answer such hard and side questions..

>> If you say it is ugly you'd know why.

> usually but not strictly always..you may imagine cases when you see something is ugly but its hard to explain exactly why
> ...

That's the problem - you don't know C++.

>>> one aspect in c++ code is like a bunch of plastic layers (come like rings on onion but elss natural) one on another - where in c (at least good written but i suspect most people write not bad c) you got stright 'meat' (stright matter)

> java btw as far as i know it (know it yet less than c++) is even worse

If you don't need to have the performance
of C++ Java is an easier choice.

> its not true -- ...

It't true if you don't misuse the language-facilities.

Re: task: ideal micromodule for complex number

<0d3f1f87-fa2d-4356-8c25-64e66c6f3273n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20429&group=comp.lang.c#20429

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ae9:eb4f:: with SMTP id b76mr2265387qkg.690.1644319819758;
Tue, 08 Feb 2022 03:30:19 -0800 (PST)
X-Received: by 2002:a05:620a:c44:: with SMTP id u4mr2247513qki.319.1644319819623;
Tue, 08 Feb 2022 03:30:19 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 8 Feb 2022 03:30:19 -0800 (PST)
In-Reply-To: <sttk0c$sr6$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.10; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.10
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me> <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me> <13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me> <144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
<str8is$s5l$1@dont-email.me> <c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
<strvad$g62$1@dont-email.me> <82c0bb48-f092-44fc-bee2-a0c0d6814aa4n@googlegroups.com>
<sttk0c$sr6$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0d3f1f87-fa2d-4356-8c25-64e66c6f3273n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Tue, 08 Feb 2022 11:30:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 25
 by: fir - Tue, 8 Feb 2022 11:30 UTC

wtorek, 8 lutego 2022 o 12:26:37 UTC+1 Bonita Montero napisał(a):
> Am 07.02.2022 um 21:47 schrieb fir:
>
> >>> its hard question to answer and im not in a mood today to answer such hard and side questions..
>
> >> If you say it is ugly you'd know why.
>
> > usually but not strictly always..you may imagine cases when you see something is ugly but its hard to explain exactly why
> > ...
>
> That's the problem - you don't know C++.
> >>> one aspect in c++ code is like a bunch of plastic layers (come like rings on onion but elss natural) one on another - where in c (at least good written but i suspect most people write not bad c) you got stright 'meat' (stright matter)
> > java btw as far as i know it (know it yet less than c++) is even worse
> If you don't need to have the performance
> of C++ Java is an easier choice.
>
> > its not true -- ...
>
> It't true if you don't misuse the language-facilities.

well, youre free to belive...

Re: task: ideal micromodule for complex number

<dc6bfb98-ff11-4003-989f-58ff7309b797n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20430&group=comp.lang.c#20430

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a37:a10a:: with SMTP id k10mr2253123qke.747.1644320626871;
Tue, 08 Feb 2022 03:43:46 -0800 (PST)
X-Received: by 2002:ac8:5a83:: with SMTP id c3mr2569679qtc.51.1644320626756;
Tue, 08 Feb 2022 03:43:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 8 Feb 2022 03:43:46 -0800 (PST)
In-Reply-To: <0d3f1f87-fa2d-4356-8c25-64e66c6f3273n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.10; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.10
References: <b4bd94c2-52d1-466c-a342-d7a5a4a0a55bn@googlegroups.com>
<stpbqo$fi0$1@dont-email.me> <ef1599d3-d343-48e4-821f-698581efaefan@googlegroups.com>
<stqma5$u3b$1@dont-email.me> <13f92a0c-cc3c-4a10-9bde-e5410ddc0c90n@googlegroups.com>
<stqnv9$97u$1@dont-email.me> <144a66de-c70d-49d7-980c-adfd4770686bn@googlegroups.com>
<str8is$s5l$1@dont-email.me> <c66bae30-5c1a-4a8f-91e0-74bfe9321209n@googlegroups.com>
<strvad$g62$1@dont-email.me> <82c0bb48-f092-44fc-bee2-a0c0d6814aa4n@googlegroups.com>
<sttk0c$sr6$1@dont-email.me> <0d3f1f87-fa2d-4356-8c25-64e66c6f3273n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dc6bfb98-ff11-4003-989f-58ff7309b797n@googlegroups.com>
Subject: Re: task: ideal micromodule for complex number
From: profesor...@gmail.com (fir)
Injection-Date: Tue, 08 Feb 2022 11:43:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 7
 by: fir - Tue, 8 Feb 2022 11:43 UTC

> well, youre free to belive...

hovever i may add you resemble dick hodgin...every man belives something but some special nuts
war crusades like hodgin with jesus and you with your c++ belif.. in fact from psychical paoint of view this is sorta heavy degradation of mind in my opinion (heavy nuts so to say..so im okay with you belive your belifs but fighting pony crusade is mental degradation problem imo..im not involved ;<)

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor