comp.lang.ada
 help / color / mirror / Atom feed
From: slinky.cs.nyu.edu!slinky.cs.nyu.edu!nobody@nyu.edu  (Robert Dewar)
Subject: Re: ADA arithmetic
Date: 28 Jul 93 12:13:58 GMT	[thread overview]
Message-ID: <235qi6$53l@schonberg.cs.nyu.edu> (raw)

Of course Simon's suggestion of how to program multi-precision numbers in
Ada is reasonable as a crude approach for beginning students, but is
ludicrously inefficient. Probably it is likely that a well written routine
(I believe brother Eachus is hard at work on a portable efficient 64-bit
integer package) will be an order of magnitude faster.

Of course in assembler one can do much better. This is one of the very few
times that assembler is not only more efficient but much easier to program
than typical high level languages like Ada. Why: because these languages
don't give access to the crucial primitives such as unsigned add with a
carry indication.

             reply	other threads:[~1993-07-28 12:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-07-28 12:13 Robert Dewar [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-07-30  4:44 ADA arithmetic comp.vuw.ac.nz!canterbury.ac.nz!otago.ac.nz!piglet.otago.ac.nz!pgorman
1993-07-30  3:26 waikato.ac.nz!canterbury.ac.nz!otago.ac.nz!is20115
1993-07-29 16:40 cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!spool.mu.ed
1993-07-29  1:01 Robert I. Eachus
1993-07-28 20:46 agate!spool.mu.edu!uwm.edu!wupost!waikato.ac.nz!canterbury.ac.nz!news!ota
1993-07-28 19:00 Michael Feldman
1993-07-28 14:34 Tucker Taft
1993-07-28 12:11 Robert Dewar
1993-07-28  4:03 Th e Arch-Deviant
1993-07-28  3:55 Th e Arch-Deviant
1993-07-27  6:13 agate!spool.mu.edu!wupost!waikato.ac.nz!canterbury.ac.nz!news!piglet.otag
1993-07-26 18:51 Robert I. Eachus
1993-07-26  3:06 Michael Feldman
replies disabled

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