Article 26693 of comp.lang.rexx:
Path: news.interlog.com!newsfeed.interlog.com!cyclone.news.idirect.com!island.idirect.com!feed1.news.rcn.net!rcn!news.ecn.ou.edu!news1.optus.net.au!optus!news.uwa.edu.au!newsman.murdoch.edu.au!not-for-mail
From: "shanti" <shanti@cleo.murdoch.edu.au>
Newsgroups: comp.lang.rexx
Subject: Re: Computing Square Root
Date: 30 Oct 98 18:44:03 +0800
Lines: 51
Message-ID: <363A08F3.MD-0.198.shanti@cleo.murdoch.edu.au>
References: <3637E75C.49F6@ibm.net>
NNTP-Posting-Host: cleo.murdoch.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: MicroDot-II/AmigaOS 0.198
Xref: news.interlog.com comp.lang.rexx:26693

For general information..

Documentation for the AmigaREXX math library, version 1.0.
==========================================================

  In version 1 of the AmigaREXX math library the following functions
have been implemented. In column 1 you will find the function, in column 2
the calling sequence, and in column 3 some aliases. Column 4 has the allowed
ranges of the arguments that will not cause an error.

  The regular library is called rexxmathlib.library: it should work on
all Amigas. However, if you own a StarBoard II memory expansion with a 
Multi-Function Module plus 68881 math coprocessor, you can speed up your
REXXmath by using the library rexxmathsbii.library instead. You will then 
also need the MicroBotics supplied IEEE libraries.


Function                  Call. Seq.    Alias(es)        Requires
----------------------------------------------------------------------------
Absolute value            abs(x)         fabs
Inverse cosine            acos(x)                     -1.0 <= x <= 1.0
Inverse hyperbolic cos    acosh(x)                       x >= 1.0
Inverse sine              asin(x)                     -1.0 <= x <= 1.0
Inverse hyperbolic sin    asinh(x)
Inverse tangent           atan(x)
Inverse hyp. tangent      atanh(x)                    -1.0 < x < 1.0
Inv. tangent y/x          atan(y,x)                   y != 0.0, x != 0.0
Lowest integer above x    ceil(x)
Cosine                    cos(x)
Hyperbolic cosine         cosh(x)
Cotangent                 cot(x)         cotan
ICotangent                cotan(x)       cot
Cosecans                  csc(x)
e to the power x          exp(x)
Absolute value            fabs(x)        abs
Factorial                 fact(x)                     x >= 0, x < 171
Highest integer below x   floor(x)       int
Highest integer below x   int(x)         floor
Log base e                ln(x)          log          x > 0.0
Log base e                log(x)         ln           x > 0.0
Log base 10               log10(x)                    x > 0.0
Nearest integer to x      nint(x)
x to the power y          pow(x,y)       power, xtoy  x >= 0.0
x to the power y          power(x,y)     pow, xtoy    x >= 0.0
Secans                    sec(x)
Sine                      sin(x)
Hyperbolic sine           sinh(x)
Square root               sqrt(x)                     x >= 0.0
Tangent                   tan(x)
Hyperbolic tangent        tanh(x)
x to the power y          xtoy(x,y)      pow, power   x >= 0.0


