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,FREEMAIL_FROM autolearn=ham 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!news4.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!ken-transit.news.telstra.net!ken-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: "robin" 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> <1kzktalo9krea$.z8n9wev45xct$.dlg@40tude.net> <2Nwsg.210$Dp4.31@fe09.lga> Subject: Re: Ada vs Fortran for scientific applications X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: <4vXsg.3183$tE5.1981@news-server.bigpond.net.au> Date: Wed, 12 Jul 2006 00:37:20 GMT NNTP-Posting-Host: 203.54.237.55 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1152664640 203.54.237.55 (Wed, 12 Jul 2006 10:37:20 EST) NNTP-Posting-Date: Wed, 12 Jul 2006 10:37:20 EST Organization: BigPond Internet Services Xref: g2news2.google.com comp.lang.ada:5631 comp.lang.fortran:11962 comp.lang.pl1:1998 Date: 2006-07-12T00:37:20+00:00 List-Id: John W. Kennedy wrote in message ... >robin wrote: >> John W. Kennedy wrote in message <2Nwsg.210$Dp4.31@fe09.lga>... >>> adaworks@sbcglobal.net wrote: >>>> "Dmitry A. Kazakov" wrote in message >>>> news:1kzktalo9krea$.z8n9wev45xct$.dlg@40tude.net... >>>>> On Sun, 09 Jul 2006 21:36:07 GMT, James Giles wrote: >>>>> >>> PL/I is too old (1964) to have the range trick, >> >> Can be handled by ASSERT. >> >>> but it does at least >>> strive for portability by specifications such as: >>> >>> Declare My_number_2 fixed binary(8,0); >>> >>> If the (SIZE) option is turned on, it will at least check that the range >>> is between -511 and +511. >> >> Actually, -512 to +511. > >No, PL/I does not demand 2's-complement representation. On the contrary, your statement is wrong. PL/I at least checks -512 to +511. It may (on a ones complement or sign-magnitude machine), check a smaller range of -511 to +511. The S/360 and successors checked -512 to +511, not the smaller range that you mentioned. On the PC, the range checked is -512 to +511.