comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@rfc1149.net>
Subject: Re: writing an "artful" algorithm
Date: Fri, 18 Apr 2003 00:17:46 +0200
Date: 2003-04-18T00:17:46+02:00	[thread overview]
Message-ID: <87vfxc4vlh.fsf@inf.enst.fr> (raw)
In-Reply-To: slrnb9u9e3.juo.sam@willow.dyn.rfc1149.net

>>>>> "Sam" == Samuel Tardieu <sam@rfc1149.net> writes:

Sam> -- if the result has too many digits, a duplicate digit will be
Sam> -- found

Oops, this comment is unnecessary (and even bogus as if it were needed,
the code would need to be changed to assume a possible overflow), as
we will *never* have too many digits (0<=left<10**5 and 0<=right<10**5
imply that 0<=left*right<10**10).

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam



  reply	other threads:[~2003-04-17 22:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-17 15:12 writing an "artful" algorithm John Stoneham
2003-04-17 22:08 ` Samuel Tardieu
2003-04-17 22:17   ` Samuel Tardieu [this message]
2003-04-18  4:57 ` Steve
2003-04-18  5:51   ` tmoran
2003-04-22 20:38 ` Dan Eilers
2003-04-23 13:12   ` John Stoneham
2003-05-19 23:19 ` John Atwood
replies disabled

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