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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,ab436e97ff76821f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Received: by 10.66.74.40 with SMTP id q8mr3110086pav.19.1343789446366; Tue, 31 Jul 2012 19:50:46 -0700 (PDT) Path: p10ni9631378pbh.1!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!goblin1!goblin2!goblin.stu.neva.ru!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada,comp.lang.pl1 Subject: Re: Does Ada need elemental functions to make it suitable for scientific work? Date: Sun, 29 Jul 2012 17:51:25 +0200 Organization: A noiseless patient Spider Message-ID: References: <18c77859-480c-41f5-bb1c-df7ad067f4f3@googlegroups.com> <637de084-0e71-4077-a1c5-fc4200cad3cf@googlegroups.com> <6581ef3f-3e2c-4eeb-9a3f-eded557239d5@qk10g2000pbc.googlegroups.com> Mime-Version: 1.0 Injection-Date: Sun, 29 Jul 2012 15:51:23 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="e53b1d06105a4101a995a7820d7abbff"; logging-data="20564"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qtAfulwqAaye88Sk6LtMZ" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <6581ef3f-3e2c-4eeb-9a3f-eded557239d5@qk10g2000pbc.googlegroups.com> Cancel-Lock: sha1:Ge+T1HVezQjRJs45/yRBw/F9oao= X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2012-07-29T17:51:25+02:00 List-Id: Le 29/07/2012 15:53, Robin Vowels a �crit : >> Note that in any case the Sin you are calling is not specially known to the >> > compiler, > but in PL/I and Fortran it is. Which implies that you can work only with predefined types. One of the great benefits of Ada (for floating point types) is the ability to chose accurracy and range, and let the compiler find the appropriate underlying hardware type. Most machines have more than float and double! -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr