comp.lang.ada
 help / color / mirror / Atom feed
From: john@assen.demon.co.uk (John McCabe)
Subject: Re: logarithms on ada
Date: 1997/03/04
Date: 1997-03-04T00:00:00+00:00	[thread overview]
Message-ID: <331c6ce7.856445@news.demon.co.uk> (raw)
In-Reply-To: 5fcqrs$ius@panther.Gsu.EDU


gs01brf@panther.Gsu.EDU (Brian R Franklin) wrote:

>I can't find this in my ADA manual.

It's not in the Ada manual.

>How can I do a logarithm in 
>ADA? The compiler doesn't seem to understand  x := log(y);
>The compiler complains that log is undefined. It appears in my
>main program so I don't think I have to instantiate it. Is there
>a mathematics package I need to declare using  "with"?

Yes there probably is and you'll have to read your compiler
documentation to find it.

TLD Ada for example provides a "math" package you need to with which
defines log and log10 functions for various types.


Best Regards
John McCabe <john@assen.demon.co.uk>




  reply	other threads:[~1997-03-04  0:00 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-02  0:00 logarithms on ada Brian R Franklin
1997-03-04  0:00 ` John McCabe [this message]
1997-03-06  0:00   ` Robert Dewar
1997-03-07  0:00     ` John McCabe
1997-03-07  0:00       ` Robert Dewar
1997-03-09  0:00         ` John McCabe
1997-03-09  0:00           ` Robert Dewar
1997-03-10  0:00             ` John McCabe
1997-03-10  0:00               ` Robert Dewar
1997-03-11  0:00                 ` John McCabe
1997-03-11  0:00                   ` Robert Dewar
1997-03-12  0:00                     ` John McCabe
1997-03-07  0:00   ` Darren C Davenport
1997-03-04  0:00 ` Bob Klungle
1997-03-04  0:00   ` Robert Dewar
1997-03-05  0:00     ` Bob Klungle
1997-03-05  0:00       ` David Shochat
1997-03-05  0:00         ` Robert Dewar
1997-03-06  0:00         ` Robert A Duff
1997-03-06  0:00           ` Robert Dewar
1997-03-05  0:00     ` Doug Smith
1997-03-05  0:00       ` Robert Dewar
1997-03-06  0:00         ` Robert A Duff
1997-03-05  0:00           ` John McCabe
1997-03-06  0:00           ` Doug Smith
1997-03-06  0:00           ` Robert Dewar
1997-03-06  0:00           ` Norman H. Cohen
1997-03-08  0:00             ` Robert Dewar
1997-03-08  0:00             ` Robert Dewar
1997-03-11  0:00             ` Richard A. O'Keefe
1997-03-12  0:00               ` Norman H. Cohen
1997-03-06  0:00       ` Robert A Duff
1997-03-06  0:00         ` Andrew Dunstan
1997-03-10  0:00         ` Doug Smith
1997-03-11  0:00           ` Robert Dewar
1997-03-05  0:00   ` Jon S Anthony
1997-03-04  0:00 ` Tom Moran
replies disabled

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