home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
149.lha
/
VLT_v3.626
/
Docs
/
rexxmathlib.doc
< prev
next >
Wrap
Text File
|
1988-04-25
|
2KB
|
55 lines
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