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!newssvr27.news.prodigy.net.POSTED!4988f22a!not-for-mail From: Newsgroups: comp.lang.ada References: <1581461.uQ1jN63t33@linux1.krischik.com> <5mo0f.529$B14.97@newssvr11.news.prodigy.com> <1x4pe4pv41qsn$.m5c5jawjqcpq.dlg@40tude.net> 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: <00D3f.1845$tV6.1589@newssvr27.news.prodigy.net> NNTP-Posting-Host: 64.164.117.94 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr27.news.prodigy.net 1129249916 ST000 64.164.117.94 (Thu, 13 Oct 2005 20:31:56 EDT) NNTP-Posting-Date: Thu, 13 Oct 2005 20:31:56 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: FKPO@MONTBWQR]TX\ZIBNFXBWR\HPCTL@XT^OBPLAH[\RWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C@E[A_CF\AQLDQ\BTMPLDFNVUQ_VM Date: Fri, 14 Oct 2005 00:31:56 GMT Xref: g2news1.google.com comp.lang.ada:5623 Date: 2005-10-14T00:31:56+00:00 List-Id: "Dave Thompson" wrote in message news:bpujk1998r48p79n5jh1jtfgm42jl3ei8r@4ax.com... > On Tue, 04 Oct 2005 18:56:20 GMT, wrote: > > > BCD was originally a six bit (where 7 was a parity bit) representation. With > > the advent of the byte on the IBM System 360, BCD became Extended Binary > > Coded Decimal Interchange Code (EBCDIC). > > > The 6-bit character code was BCDIC -- Binary Coded Decimal Interchange > Code. With the advent of _8-bit_ bytes on S/360 it became EBCDIC. > On the IBM 1401 and IBM 7080, we used the term Binary Coded Decimal (BCD) for the six bit character. BCDIC may have been the term on other machines -- or perhaps we were simply using a short-cut name, but this was how it was named in the IBM literature we were given. > > > > > COMP-3 represented the numeric PICTURE by using a half-byte (nibble) for each 9 > > in the picture and a nibble for the sign. In the example shown, Hnumber would > > occupy > > only three bytes where Number would occupy five bytes. In both cases, the > > high-order > > nibble is used for the sign. > > > Not that last; the S/360 decimal instructions (AP, SP, etc.) put the > sign in the low-order nibble, namely the low half of the highest > addressed byte, which is the low-valued one on big-endian S/360. > Yes. You are right. It has been a long time since I have programmed the S/360. Now, do remember the bizzare format for a floating-point number on the VAX. I once had to convert VAX code to S/360 and it was, at first, a bit of a nightmare. > Richard Riehle