comp.lang.ada
 help / color / mirror / Atom feed
From: "DuckE" <nospam_steved@pacifier.com>
Subject: Re: Ada83 Exponentiation HELP !!!
Date: 1999/12/13
Date: 1999-12-13T00:00:00+00:00	[thread overview]
Message-ID: <3855ab32.0@news.pacifier.com> (raw)
In-Reply-To: 831tka$rue$1@tobruk.sydney.gecm.com

It's been years since I've dealt with evaluating things like this, but as I
recall 6^(1.3) is equivalent to:

   Exp( 1.3 * Log( 6 ) )

Don't quote me on this, but it's somehting like that.

SteveD

jxredi <jxredi@gecms.com.au> wrote in message
news:831tka$rue$1@tobruk.sydney.gecm.com...
> Can anyone help me with the following  :
>
> I understand that in Ada83,     6^3  is represented as 6**3, where 6 can
be
> int or real,
> and 3 can only be an INTEGER.
>
> So how do I represent in ada83 this .....  -->    6^(1.3) where 1.3 is
type
> REAL.
>
>
> Regards,
> Jxredi.
>
>






  reply	other threads:[~1999-12-13  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-13  0:00 Ada83 Exponentiation HELP !!! jxredi
1999-12-13  0:00 ` DuckE [this message]
1999-12-14  0:00   ` Preben Randhol
1999-12-19  0:00     ` Robert Dewar
1999-12-19  0:00       ` Preben Randhol
1999-12-19  0:00   ` Robert Dewar
1999-12-13  0:00 ` David C. Hoos, Sr.
1999-12-13  0:00 ` Gautier
replies disabled

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