comp.lang.ada
 help / color / mirror / Atom feed
From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: ada help please
Date: 1999/02/01
Date: 1999-02-01T00:00:00+00:00	[thread overview]
Message-ID: <EACHUS.99Feb1173757@spectre.mitre.org> (raw)
In-Reply-To: 36ad2d46.24886495@news.pacbell.net

In article <36ad2d46.24886495@news.pacbell.net> tmoran@bix.com (Tom Moran) writes:

 >   The old IBM 1620 did this with an addition table.  ie, make two,
 > two-dimensional arrays (one for "with carry", one without) indexed by
 > the characters '0' .. '9' to give the sum character.  Initialize these
 > constant arrays yourself from any 1st grade arithmetic text.  You'll
 > also need similar arrays of Boolean to tell if you should generate a
 > carry.

   Ah, someone else who remembers the CADET (Can't Add Doesn't Even Try).
Seriously, since the 1620 allowed overwriting of the addition and
multiplication tables, you could change the arithmetic base, but only
to values less than 10.  So a lot of work got done studying base 7
arithmetic.  (The largest prime base possible on the 1620.)  I
expected Ada's support for bases up to 16 to result in a flurry of
papers on base 13.

--

					Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...




  reply	other threads:[~1999-02-01  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <36ab9c3f.2963059@news.ptd.net>
1999-01-25  0:00 ` ada help please Anthony E. Glover
1999-01-26  0:00 ` Tom Moran
1999-02-01  0:00   ` Robert I. Eachus [this message]
1999-02-01  0:00 ` Nick Roberts
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox