From: "Egil Høvik" <egilhovik@hotmail.com>
Cc: nma@12000.org
Subject: Re: a bug in code shown in ada2012 rational or is it me?
Date: Wed, 20 Jun 2012 03:33:49 -0700 (PDT)
Date: 2012-06-20T03:33:49-07:00 [thread overview]
Message-ID: <bdcfca22-bfdd-4444-a8f1-d62d9903399d@googlegroups.com> (raw)
In-Reply-To: <jrs7ft$uem$1@speranza.aioe.org>
> function T(N: Natural) return Long_Long_Float is
> (if N = 0 then 0.25 else
> (T(N–1)–2.0**(N–1)*A(N–1)–A(N))**2);
Should be:
function T(N: Natural) return Long_Long_Float is
(if N = 0 then 0.25 else
T(N–1)–2.0**(N–1)*(A(N–1)–A(N))**2);
next prev parent reply other threads:[~2012-06-20 10:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-20 10:09 a bug in code shown in ada2012 rational or is it me? Nasser M. Abbasi
2012-06-20 10:33 ` Egil Høvik [this message]
2012-06-20 10:44 ` Egil Høvik
2012-06-20 14:03 ` Nasser M. Abbasi
2012-06-21 20:10 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox