comp.lang.ada
 help / color / mirror / Atom feed
From: dsmith@clark.net (Doug Smith)
Subject: Re: logarithms on ada
Date: 1997/03/05
Date: 1997-03-05T00:00:00+00:00	[thread overview]
Message-ID: <dsmith-0503971354380001@dsmith.clark.net> (raw)
In-Reply-To: dewar.857536154@merv


In article <dewar.857536154@merv>, dewar@merv.cs.nyu.edu (Robert Dewar) wrote:

> iBob Klungle said
> 
> <<On GNAT you need
> with Ada.Numerics.Aux;>>
> 
> this is bad advice. Ada.Numerics.Aux is an internal, non-standard package
> that should not be used by user programs. Instead look at the RM and use
> the standard math packages.

This is a case where beginners have to understand generics and hunt through
the LRM to find simple operations. Of course, I found it easily using
WebAda's Surfing feature <8^O

<http://sw-eng.falls-church.va.us/cgi-bin/webada/file?template=predefined.html>

or for the reference page only:

<http://sw-eng.falls-church.va.us/AdaIC/compilers/webada/f_predefined.html>

The answer for Float is:
  Ada.Numerics.Elementary_Functions.Log
as in
  function Log     (X           : Float) return Float;
  function Log     (X, Base     : Float) return Float;

Doug
<mailto:dsmith@clark.net>




  reply	other threads:[~1997-03-05  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
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     ` Doug Smith [this message]
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
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