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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c4cb2c432feebd9d X-Google-Thread: 1094ba,c4cb2c432feebd9d X-Google-Thread: 101deb,15c6ed4b761968e6 X-Google-Attributes: gid103376,gid1094ba,gid101deb,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsdst02.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr27.news.prodigy.net.POSTED!2febb241!not-for-mail Reply-To: "Nasser Abbasi" From: "Nasser Abbasi" Newsgroups: comp.lang.ada,comp.lang.fortran,comp.lang.pl1 References: <0ugu4e.4i7.ln@hunter.axlog.fr> <%P_cg.155733$eR6.26337@bgtnsc04-news.ops.worldnet.att.net> <6H9dg.10258$S7.9150@news-server.bigpond.net.au> <1hfv5wb.1x4ab1tbdzk7eN%nospam@see.signature> <2006052509454116807-gsande@worldnetattnet> <4475DA0F.5030603@comcast.net> Subject: Re: Checking for Undefined [was Re: Ada vs Fortran for scientific applications] X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Response Message-ID: NNTP-Posting-Host: 69.235.213.220 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr27.news.prodigy.net 1148579308 ST000 69.235.213.220 (Thu, 25 May 2006 13:48:28 EDT) NNTP-Posting-Date: Thu, 25 May 2006 13:48:28 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: TSUGGYCEFZRYB_LYLRKF__PAUSXB@DTMNHWB_EYLJZ]BGIELYFWUQBKZQLYJX\_ITFD_KFVLUN[DOM_A_NSYNWPFWNS[XV\I]PZ@BQ[@CDQDPCL^FKCBIPC@KLGEZEFNMDYMKHRL_YYYGDSSODXYN@[\BK[LVTWI@AXGQCOA_SAH@TPD^\AL\RLGRFWEARBM Date: Thu, 25 May 2006 17:48:28 GMT Xref: g2news2.google.com comp.lang.ada:4465 comp.lang.fortran:10249 comp.lang.pl1:1710 Date: 2006-05-25T17:48:28+00:00 List-Id: "Bob Lidral" wrote in message news:4475DA0F.5030603@comcast.net... > Gordon Sande wrote: > > That's one of the features I miss about the old CDC CYBER architectures. > Their (one's complement, sigh) numeric format supported plus or minus > infinity (e.g., divide a non-zero number by zero) and plus or minus > indefinite (e.g., divide zero by zero, infinity by infinity, or use an > "indefinite" value anywhere in a divide operation). hi, fyi, Matlab supports NAN's, and it has Inf and -Inf (infinities) >> a=1/0; Warning: Divide by zero. >> a a = Inf >> a-Inf ans = NaN >> 1-Inf ans = -Inf Mathematica also: In[12]:= 1./0; (warning displayed like in Matlab) Out[13]= ComplexInfinity Nasser