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.8 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,b6d862eabdeb1fc4 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada noob here! Is Ada widely used? Date: Sat, 05 Jun 2010 13:27:01 +0100 Organization: A noiseless patient Spider Message-ID: References: <0e88de66-128c-48fd-9b9f-fdb4357f318a@z17g2000vbd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 5 Jun 2010 12:27:02 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="7056"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Kl19a38LKObBJlgVnpKGa7V91X+mEAt4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:bQ/UucX13NznTGeSm39cl/xaZ7c= sha1:zqHdcZ9seO+G+fKwqwzx4Bbn07g= Xref: g2news1.google.com comp.lang.ada:11307 Date: 2010-06-05T13:27:01+01:00 List-Id: "Yannick DuchĂȘne (Hibou57)" writes: > May be possible reason is that a complex number is seen a composite > type, and how would one fix the type of its two component ? Float ? > Fixed ? Both the same ? Different ? And so on. Unless with a special > ugly/heavy syntax, difficult to image a way to simply declare a > complex type in Ada (unless you do it the C way : one type for all > use, without constraints, and no other choices). ARM Annex G? http://www.adaic.com/standards/05rm/html/RM-G-1.html I'm not a mathematician (as a physicist) but I can't imagine why you would want the two components of a complex number to have different base types.