comp.lang.ada
 help / color / mirror / Atom feed
From: Anatoly Chernyshev <rhezusfactor@yahoo.com>
Subject: Re: I think - it's a bug...
Date: Sun, 10 Mar 2002 23:46:13 -0600
Date: 2002-03-11T05:46:27+00:00	[thread overview]
Message-ID: <3C8C44A5.D9325235@yahoo.com> (raw)
In-Reply-To: 3C8C4189.1152D57B@acm.org



Jeffrey Carter wrote:

> Anatoly Chernyshev wrote:
> >
> > WITH ada.text_io,ada.numerics.elementary_functions;
> > USE ada.text_io, ada.numerics.elementary_functions;
> > PROCEDURE el_stat_fun IS
> >    b            : float := 7.5;
> >    a:float:=4.0;
> >    rr, z : float;
> >    r            : float := 4.0;
> >    dz           : float := 0.3;
>
> B, A, R, and Dz are constants. Why not make them named numbers?

This was cut from the much bigger program, actually there they are not
constants.

>
> The parentheses here look funny. Did you perhaps mean
>
> rr:=-a*sqrt((1.0-(z/b))**2)+a+r;

This is just a mistyping - I meant what I meant. Anyway, after removing
of extra brackets the problem still persists.






  reply	other threads:[~2002-03-11  5:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-10  8:24 I think - it's a bug Anatoly Chernyshev
2002-03-10 12:58 ` David C. Hoos, Sr.
2002-03-11  5:33   ` Anatoly Chernyshev
2002-03-11 13:43     ` David C. Hoos
2002-03-11 16:13     ` Stephen Leake
2002-03-11  5:39   ` Jeffrey Carter
2002-03-11 14:53   ` Wes Groleau
2002-03-11 15:15     ` David C. Hoos
2002-03-11  5:32 ` Jeffrey Carter
2002-03-11  5:46   ` Anatoly Chernyshev [this message]
2002-03-11  8:19 ` Phil Thornley
2002-03-11 19:48 ` Anatoly Chernyshev
replies disabled

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