comp.lang.ada
 help / color / mirror / Atom feed
From: john@assen.demon.co.uk (John McCabe)
Subject: Re: logarithms on ada
Date: 1997/03/07
Date: 1997-03-07T00:00:00+00:00	[thread overview]
Message-ID: <33205b8c.1147493@news.demon.co.uk> (raw)
In-Reply-To: dewar.857691509@merv


dewar@merv.cs.nyu.edu (Robert Dewar) wrote:

>JOhn McCabe said
>
><<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.>>
>
>This comment is appropriate for Ada 83, but not for Ada 95, where the log
>function is standardized, and available in all Ada 95 compilers.
>

You're quite correct, but your comment appears inappropriate to the
original question.

Look at it from this point of view; logarithms are defined as part of
the Ada (1995) language and *are* listed in the Ada 95 Reference
Manual. The original question poser must therefore either be blind or
stupid (or both) to have missed it, yes?

On the other hand, we could consider that the context in which the
question was raised was that of the Ada (1983) language. This would,
in fact, be a very reasonable assumption given that:

1) The Ada Language (and RM) from 1983 does not define a Log function

and

2) Most people (despite what you would like to believe) still use the
1983 definition of the Ada language.

The other option of course is to make no assumptions (as in Tom
Moran's posting) and ask what version is being used!


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




  reply	other threads:[~1997-03-07  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 ` Tom Moran
1997-03-04  0:00 ` John McCabe
1997-03-06  0:00   ` Robert Dewar
1997-03-07  0:00     ` John McCabe [this message]
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     ` 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           ` 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 Dewar
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     ` 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   ` Jon S Anthony
replies disabled

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