| Deutsch English Français Italiano |
|
<861q43ba5p.fsf@linuxsc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch <tr.17687@z991.linuxsc.com> Newsgroups: comp.lang.c Subject: Re: More complex numbers than reals? Date: Mon, 08 Jul 2024 18:56:34 -0700 Organization: A noiseless patient Spider Lines: 26 Message-ID: <861q43ba5p.fsf@linuxsc.com> References: <v6hohq$11nib$1@dont-email.me> <87msmrsd6f.fsf@bsb.me.uk> <v6i0e0$12qcg$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 09 Jul 2024 03:56:34 +0200 (CEST) Injection-Info: dont-email.me; posting-host="4404f50b61bba69374b6468dfb9554fc"; logging-data="1156329"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BeKTulMI2vaeRXQaQo6ev8iYPy66zwt8=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:EZz+zacPQxlQLrSqVD4bg7TIxZA= sha1:SLhpTe6Iv8ktRUc/Wdoz4n/JisE= Bytes: 2108 James Kuyper <jameskuyper@alumni.caltech.edu> writes: > On 7/8/24 18:59, Ben Bacarisse wrote: > >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes: >> >>> Are there "more" complex numbers than reals? >> >> If you ask this in an appropriate group (sci.math?) I'll answer. Can >> you really think this is topical in comp.lang.c? > > I haven't seen more of Chris's message than what you've quoted. In the > context of C, it's a easy (even trivial) question to answer. > > "Each complex type has the same representation and alignment > requirements as an array type containing exactly two elements of the > corresponding real type; the first element is equal to the real part, > and the second element to the imaginary part, of the complex number." > (6.2.5p17). > > Therefore, the number of different complex numbers that can be > represented is therefore the square of the number of different numbers > that can be represented in the corresponding real type. The answer is still no, because the question is about complex numbers and real numbers, not representable values.