From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1ece6d66c5229c81 X-Google-Attributes: gid103376,public X-Google-Thread: 115614,1ece6d66c5229c81 X-Google-Attributes: gid115614,public X-Google-ArrivalTime: 1994-12-11 11:10:21 PST Path: bga.com!news.sprintlink.net!pipex!uunet!juniper.almaden.ibm.com!VNET.IBM.COM From: john13@VNET.IBM.COM (John Russell) Message-ID: <19941211.110655.868@almaden.ibm.com> Date: Sun, 11 Dec 94 14:01:26 EST Newsgroups: comp.lang.ada,comp.unix.aix Subject: Re: Square Root in standard library? Reply-To: john13@VNET.IBM.COM Organization: IBM Canada Ltd. Disclaimer: This posting represents the poster's views, not those of IBM News-Software: UReply 3.0 References: <3cdlc0$iu2@wizard.pn.com> Xref: bga.com comp.lang.ada:8507 comp.unix.aix:20701 Date: 1994-12-11T14:01:26-05:00 List-Id: 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.