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=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c424d8135e68278 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-20 09:03:03 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!wanadoo.fr!opentransit.net!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Math Libraries (was Re: Ada2005) Date: Thu, 20 Dec 2001 11:34:58 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9vt3vi$dmd$1@nh.pace.co.uk> References: <9v4jsj$bd1$1@infosun2.rus.uni-stuttgart.de> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1008866098 14029 136.170.200.133 (20 Dec 2001 16:34:58 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 20 Dec 2001 16:34:58 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:18154 Date: 2001-12-20T16:34:58+00:00 List-Id: We have in Ada a useful package: Ada.Numerics.Generic_Elementary_Functions that works fine for floating point types. Is there any reason not to include in Ada200x similar packages for generic fixed and decimal types? It seems we ought to be able to compute logarithms, square roots, etc. for numeric types other than floating point types, eh? Would there be any reason not to expand the math functions beyond what is already there? Math is pretty cheap to implement when compared to some of the other suggested extensions to the language and it would definitely be attractive to a given audience that might currently still be relying on Fortran. (See also the discussion elsewhere about standard libraries...) What math functions (or math branches) would be most desirable to add to the language by way of some packages under Ada.Numerics? MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/