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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,23a8a20ef7e9405e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: S'Is_nan or S'Is_inf? Date: Mon, 19 Jul 2010 18:15:03 -0500 Organization: Jacob Sparre Andersen Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1279581306 12708 69.95.181.76 (19 Jul 2010 23:15:06 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 19 Jul 2010 23:15:06 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original Xref: g2news1.google.com comp.lang.ada:12474 Date: 2010-07-19T18:15:03-05:00 List-Id: "Warren" wrote in message news:Xns9DB6AD1651560WarrensBlatherings@81.169.183.62... > Is there any is not-a-number or is-infinity test support in > Ada05+ (for floats)? Is there any being planned? We considered it for Ada 2005 (see AI95-0315-1). It was abandoned because of the large impact on implementations and the weak demand (hardly any user requests). John Barnes mentions this in the Ada 2005 Rational: http://www.adaic.com/standards/05rat/html/Rat-9-3-3.html It wasn't resurrected for Ada 2012, so there won't be any change here. BTW, GNAT seems to pass through a lot of IEEE stuff, thus you can write examples using that. Other Ada compilers (at least as of 2003-4 timeframe) vary widely in what is exposed (Janus/Ada only supports IEEE denormal numbers; everything else raises Constraint_Error before it is stored). Randy.