home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
comm
/
bbbbs-7.2.lha
/
BBBBS
/
BBBBS72.lha
/
libs
/
DOCS
/
rexxmathlib.doc
< prev
Wrap
Text File
|
1994-01-28
|
3KB
|
70 lines
With this release:
==================
This version is recompiled and relinked for use with the AmigaDOS
1.3 IEEE math libraries. How do you keep the various versions apart?
The size of the one for 1.3 is 7012 bytes. The previous release was some
13900 bytes, whereas the special release for the StarBoard II's 68881 was
8152 bytes. Which one to use? If you have AmigaDOS 1.3, use the one that's
7012 bytes long. If you have 1.2 or (heaven forbid) 1.1, use the 13900 byte
one. If you have 1.2 and a StarBoard II, AND a 68881 in its multifunction
module, use the special one after renaming it to rexxmathlib.library.
This archive *only* includes the 7012 byte one. It can only be used
with the 1.3 IEEE math libraries.
Willy Langeveld, 31 January, 5 April 1989.
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
REXX math by using the library rexxmathsbii.library instead. You will then
also need the MicroBotics supplied IEEE libraries.
Willy Langeveld.
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
Cotangent 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