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=-0.8 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b6d862eabdeb1fc4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!5g2000yqz.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Ada noob here! Is Ada widely used? Date: Sat, 5 Jun 2010 14:16:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <0e88de66-128c-48fd-9b9f-fdb4357f318a@z17g2000vbd.googlegroups.com> NNTP-Posting-Host: 81.62.100.175 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1275772602 5098 127.0.0.1 (5 Jun 2010 21:16:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 5 Jun 2010 21:16:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 5g2000yqz.googlegroups.com; posting-host=81.62.100.175; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:11325 Date: 2010-06-05T14:16:42-07:00 List-Id: On 5 Cze, 14:59, "Dmitry A. Kazakov" wrote: > As for different types of the real and imaginary parts, it would make > little or no sense because you can "rotate" numbers by multiplying them to > exp(j*angle). Nobody said that such a "rotation" must make sense in every single application domain. If it does not make sense in a given domain, then it does not have to be supported. I can perfectly imagine a domain where only the addition/substraction operation for complex and multiplying/dividing complex by scalar are necessary. > So the complex space must be isotropic So it does not have to be and Ada, as a language that promotes careful selection of types for the given purpose, would be more consistent by allowing separate base types for both components. Otherwise the model is simplified. Not necessarily bad, but certainly simplified. -- Maciej Sobczak * http://www.inspirel.com YAMI4 - Messaging Solution for Distributed Systems http://www.inspirel.com/yami4