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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable 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-21 00:05:21 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Robert C. Leif, Ph.D." Newsgroups: comp.lang.ada Subject: RE: Math Libraries (was Re: Ada2005) Date: Thu, 20 Dec 2001 15:20:54 -0800 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1008921920 94775 137.194.161.2 (21 Dec 2001 08:05:20 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 21 Dec 2001 08:05:20 +0000 (UTC) To: Return-Path: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <9vt3vi$dmd$1@nh.pace.co.uk> Importance: Normal Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:18191 Date: 2001-12-20T15:20:54-08:00 From: Bob Leif To: Marin Condic et al., I agree; however, I believe that a decimal floating type should be created or a work-around be provided to circumvent the static restrictions on type decimal. I still wish to be able to specify the exponent at run-time. PC performance has long since passed the point of needing to match the numeric format to the machine instead of the human. For most commercial uses, decimal numbers are a much better choice than binary numbers. I might note than even in the computer aided design of mechanical systems, decimal would be a better choice. I see errors in VISIO where a specified one or two digit number, which ends in three zeros, becomes filled with numeric characters. These numbers are sufficiently close to the value that they do not materially change it. However, the provide absolutely bizarre dimensions on a drawing and are a distraction. -----Original Message----- From: comp.lang.ada-admin@ada.eu.org [mailto:comp.lang.ada-admin@ada.eu.org]On Behalf Of Marin David Condic Sent: Thursday, December 20, 2001 8:35 AM To: comp.lang.ada@ada.eu.org Subject: Math Libraries (was Re: Ada2005) 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/