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 >
Text File  |  1988-04-25  |  2KB  |  55 lines

  1.  
  2.  
  3.     Documentation for the AmigaREXX math library, version 1.0.
  4.     ==========================================================
  5.  
  6.     In version 1 of the AmigaREXX math library the following functions
  7. have been implemented. In column 1 you will find the function, in column 2
  8. the calling sequence, and in column 3 some aliases. Column 4 has the allowed
  9. ranges of the arguments that will not cause an error.
  10.     The regular library is called rexxmathlib.library: it should work on
  11. all Amigas. However, if you own a StarBoard II memory expansion with a 
  12. Multi-Function Module plus 68881 math coprocessor, you can speed up your
  13. REXX math by using the library rexxmathsbii.library instead. You will then 
  14. also need the MicroBotics supplied IEEE libraries.
  15.  
  16.                     Willy Langeveld.
  17.  
  18.  
  19.  
  20. Function        Call. Seq.    Alias(es)    Requires
  21. ----------------------------------------------------------------------------
  22. Absolute value        abs(x)        fabs
  23. Inverse cosine        acos(x)                -1.0 <= x <= 1.0
  24. Inverse hyperbolic cos    acosh(x)            x >= 1.0
  25. Inverse sine        asin(x)                -1.0 <= x <= 1.0
  26. Inverse hyperbolic sin    asinh(x)
  27. Inverse tangent        atan(x)
  28. Inverse hyp. tangent    atanh(x)            -1.0 < x < 1.0
  29. Inv. tangent y/x    atan(y,x)            y != 0.0, x != 0.0
  30. Lowest integer above x    ceil(x)
  31. Cosine            cos(x)
  32. Hyperbolic cosine    cosh(x)
  33. Cotangent        cot(x)        cotan
  34. Cotangent        cotan(x)    cot
  35. Cosecans        csc(x)
  36. e to the power x    exp(x)
  37. Absolute value        fabs(x)        abs
  38. Factorial        fact(x)                x >= 0, x < 171
  39. Highest integer below x    floor(x)    int
  40. Highest integer below x    int(x)        floor
  41. Log base e        ln(x)        log        x > 0.0
  42. Log base e        log(x)        ln        x > 0.0
  43. Log base 10        log10(x)            x > 0.0
  44. Nearest integer to x    nint(x)
  45. x to the power y    pow(x,y)    power, xtoy    x >= 0.0
  46. x to the power y    power(x,y)    pow, xtoy    x >= 0.0
  47. Secans            sec(x)
  48. Sine            sin(x)
  49. Hyperbolic sine        sinh(x)
  50. Square root        sqrt(x)                x >= 0.0
  51. Tangent            tan(x)
  52. Hyperbolic tangent    tanh(x)
  53. x to the power y    xtoy(x,y)    pow, power    x >= 0.0
  54.  
  55.