comp.lang.ada
 help / color / mirror / Atom feed
From: john13@VNET.IBM.COM (John Russell)
Subject: Re: Square Root in standard library?
Date: Sun, 11 Dec 94 14:01:26 EST
Date: 1994-12-11T14:01:26-05:00	[thread overview]
Message-ID: <19941211.110655.868@almaden.ibm.com> (raw)
In-Reply-To: 3cdlc0$iu2@wizard.pn.com

In <3cdlc0$iu2@wizard.pn.com> Bill Heiser writes:
>I am using Ada/6000 (Release 3.3) on an AIX 3.2.5 RS/6000.  Unfortuantely
>I do not have access to any Ada documentation for this machine.  I need to
>do a square root.  Is there a square root function in some package in
>the standard library?

Add the sublibrary name /usr/lpp/ada/lib/math
to your library list file.
Place this name anywhere in the file between the working
sublibrary and the system sublibrary.

Include the package in your source program using the context clause
"with Math" or "with Fast_Math".

function   sqrt  (X: in Long_Natural_Float)  return Long_Float;

Fast_Math is just like Math except that it doesn't check for as
many exceptions.

In InfoExplorer, search on "fast_math" and you should be able to
locate the information.

John
--
John Russell                      Internet:  john13@vnet.ibm.com
XL Fortran Information            IBMMAIL:   CAIBMC68@IBMMAIL
   Development                    Phone:     1-416-448-3629
Software Solutions Division, Toronto Lab
IBM Canada Ltd.



      reply	other threads:[~1994-12-11 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-11  1:41 Square Root in standard library? Bill Heiser
1994-12-11 19:01 ` John Russell [this message]
replies disabled

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