* Re: How do you use a float as an exponent in Ada?
[not found] <TNTy3.438$LL2.3509@c01read02-admin.service.talkway.com>
@ 1999-08-31 0:00 ` tmoran
1999-08-31 0:00 ` swetmore
0 siblings, 1 reply; 4+ messages in thread
From: tmoran @ 1999-08-31 0:00 UTC (permalink / raw)
>but Ada only allows integer exponents. Does anyone have a suggestion
>for me?
Look at the numerics library (Ada.Numerics) elementary functions "**".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do you use a float as an exponent in Ada?
1999-08-31 0:00 ` How do you use a float as an exponent in Ada? tmoran
@ 1999-08-31 0:00 ` swetmore
1999-08-31 0:00 ` Howard W. LUDWIG
1999-09-01 0:00 ` Joel Seidman
0 siblings, 2 replies; 4+ messages in thread
From: swetmore @ 1999-08-31 0:00 UTC (permalink / raw)
Unfortunately, I do not have access to that library. But, I did find a
log function, so I can manipulate the equation mathematically and get
it in a form that I can deal with.
Thanks for your help,
swetmore
--
Posted via Talkway - http://www.talkway.com
Exchange ideas on practically anything (tm).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do you use a float as an exponent in Ada?
1999-08-31 0:00 ` swetmore
@ 1999-08-31 0:00 ` Howard W. LUDWIG
1999-09-01 0:00 ` Joel Seidman
1 sibling, 0 replies; 4+ messages in thread
From: Howard W. LUDWIG @ 1999-08-31 0:00 UTC (permalink / raw)
To: swetmore
Assuming you are using Ada 95, you have access to more than you think you
have. If you have found Log, the same package should have "**". The
description is found in Section A.5.1 (Annex A), paragraph (4) of the Ada
Reference Manual. Check under the URL http://www.adahome.com/rm95/ if
you don't know where to find the Ada Reference Manual.
Howard W. LUDWIG
swetmore wrote:
> Unfortunately, I do not have access to that library. But, I did find a
> log function, so I can manipulate the equation mathematically and get
> it in a form that I can deal with.
>
> Thanks for your help,
>
> swetmore
> --
> Posted via Talkway - http://www.talkway.com
> Exchange ideas on practically anything (tm).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do you use a float as an exponent in Ada?
1999-08-31 0:00 ` swetmore
1999-08-31 0:00 ` Howard W. LUDWIG
@ 1999-09-01 0:00 ` Joel Seidman
1 sibling, 0 replies; 4+ messages in thread
From: Joel Seidman @ 1999-09-01 0:00 UTC (permalink / raw)
To: swetmore
swetmore wrote:
>
> Unfortunately, I do not have access to that library. But, I did find a
> log function, so I can manipulate the equation mathematically and get
> it in a form that I can deal with.
>
> Thanks for your help,
>
> swetmore
Sounds like you may be using Ada 83. If you post what compilation system
you are using, someone may be able to provide more help. Your compiler
documentation may also provide information on math functions.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-09-01 0:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <TNTy3.438$LL2.3509@c01read02-admin.service.talkway.com>
1999-08-31 0:00 ` How do you use a float as an exponent in Ada? tmoran
1999-08-31 0:00 ` swetmore
1999-08-31 0:00 ` Howard W. LUDWIG
1999-09-01 0:00 ` Joel Seidman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox