From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6609c40f81b32989 X-Google-NewGroupId: yes X-Google-Thread: 1094ba,9bdec20bcc7f3687 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,gid8d3408f8c3,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news3.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada,comp.lang.fortran Subject: Re: Why is Ada considered "too specialized" for scientific use Date: Wed, 07 Apr 2010 10:05:06 -0700 Organization: None to speak of Message-ID: References: <4bb9c72c$0$6990$9b4e6d93@newsspool4.arcor-online.net> <4bbb3f22$0$7660$9b4e6d93@newsspool1.arcor-online.net> <4bbba9b4$0$6987$9b4e6d93@newsspool4.arcor-online.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Wed, 7 Apr 2010 17:05:08 +0000 (UTC) Injection-Info: news.eternal-september.org; posting-host="9nFTuw1iclElqUG5+//YDQ"; logging-data="6560"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ori8fpmiE8Jk8LaLMdFXS" User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:f7enD/xDrdBNAHjZ8cSKMiizX58= sha1:nTBy8WuEAG2CD3CBbwfuqlSrvsg= Xref: g2news1.google.com comp.lang.ada:9915 comp.lang.fortran:22219 Date: 2010-04-07T10:05:06-07:00 List-Id: "J. Clarke" writes: [...] > Well Visual C++ 2008, which is the only "MS C" in current production, > most assuredly DOES implement a standards-compliant complex data type, > so I don't really understand the point of your complaint. This is off-topic, but ... I'm sure the C++ compiler implements C++'s complex type. Does it support C99 complex types when invoked as a C compiler? They're defined quite differently; they have to be, since standard C doesn't have operator overloading. Here's a test case, a complete translation unit that should compile without error with a conforming C99 compiler: double _Complex new; C and C++ are two different languages. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"