Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #158482
| Path | csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
| Newsgroups | comp.lang.c |
| Subject | Re: CMPLX vs a+bi values |
| Date | Wed, 20 Jan 2021 07:20:30 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 21 |
| Message-ID | <86h7nbocsh.fsf@linuxsc.com> (permalink) |
| References | <rtu0vv$h9q$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Info | reader02.eternal-september.org; posting-host="b1fd427021f152ca5ff6680f6ccee516"; logging-data="8211"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oVAaxWfiyLNqmRno4XeF0CwrEzFy84kw=" |
| User-Agent | Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) |
| Cancel-Lock | sha1:n8AGKjM/9IaKLL60BC4tZFdJOtY= sha1:bWY412FDqkaZ7zeduyHcL11auW4= |
| Xref | csiph.com comp.lang.c:158482 |
Show key headers only | View raw
beej@beej.us (Beej) writes: > Time for another esoteric question! > > ---------- > > #include <complex.h> > > double complex a = CMPLX(1, 2); > double complex b = 1 + 2*I; > > ---------- > > They compare equal, of course. > > Are there any differences between the two values, i.e. whether or > not CMPLX() is used? [...] I have some comments on this question. First though I am curious to know if you read my response to your question about floodfill.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
CMPLX vs a+bi values beej@beej.us (Beej) - 2021-01-16 06:27 +0000
Re: CMPLX vs a+bi values James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-01-16 11:18 -0500
Re: CMPLX vs a+bi values "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-01-20 13:52 -0800
Re: CMPLX vs a+bi values "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-01-20 14:01 -0800
Re: CMPLX vs a+bi values Tim Rentsch <tr.17687@z991.linuxsc.com> - 2021-01-20 07:20 -0800
Re: CMPLX vs a+bi values beej@beej.us (Beej) - 2021-01-26 02:13 +0000
Re: CMPLX vs a+bi values Tim Rentsch <tr.17687@z991.linuxsc.com> - 2021-01-27 06:19 -0800
Re: CMPLX vs a+bi values "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-01-20 13:39 -0800
Re: CMPLX vs a+bi values "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-01-20 13:40 -0800
Re: CMPLX vs a+bi values James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-01-20 17:40 -0500
Re: CMPLX vs a+bi values "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-01-20 14:57 -0800
Re: CMPLX vs a+bi values James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-01-20 19:21 -0500
Re: CMPLX vs a+bi values "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-01-20 19:44 -0800
Re: CMPLX vs a+bi values Tim Rentsch <tr.17687@z991.linuxsc.com> - 2021-01-27 07:30 -0800
csiph-web