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,245c84afd1e393ce X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!4988f22a!not-for-mail From: Newsgroups: comp.lang.ada References: <1581461.uQ1jN63t33@linux1.krischik.com> Subject: Re: What about big integers in Ada 2005? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: <5mo0f.529$B14.97@newssvr11.news.prodigy.com> NNTP-Posting-Host: 64.164.117.94 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr11.news.prodigy.com 1128403457 ST000 64.164.117.94 (Tue, 04 Oct 2005 01:24:17 EDT) NNTP-Posting-Date: Tue, 04 Oct 2005 01:24:17 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: SCSYQN_@FS@QBTLYYZH@^SXBUSXB@DTMNHWB_EYLJZ]BGIELDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN Date: Tue, 04 Oct 2005 05:24:17 GMT Xref: g2news1.google.com comp.lang.ada:5367 Date: 2005-10-04T05:24:17+00:00 List-Id: "Dennis Lee Bieber" wrote in message news:imsuj1h8vevg4un71rmh0nc41pnee5ihjl@4ax.com... > > Of course, my college mainframe actually had a 32-digit hardware BCD > ALU (which failed one term -- COBOL classes were stuck, but FORTRAN, > using integer and floating ALU hardware, proceeded apace). > > I'll admit I'm somewhat surprised GNAT (and likely others) > implemented fixed-point math using scaled integers -- rather than a BCD > package. > -- I wonder if anyone has implemented a BCD package? Also, in COBOL, programmers routinely design using packed decimal. I don't know of any corresponding package in Ada. I suspect this is one of the many reasons Ada has consistently failed to win any support in the information systems world. Unfortunately, the Information Systems annex falls short of what COBOL programmers really want. Perhaps we could re-design the Information Systems Annex someday to bring it into conformity with common IS practice. Probably too late. The damage is already done. Also, I am teaching a class in functional programming languages this Quarter and wrote a little factorial program in Scheme that shows that we can do (factorial 45) and get a perfectly good answer. Anyone know of an Ada package that can do that? Richard Riehle