home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / QBAS / REALFUN.ZIP / REALTOP.TXT < prev    next >
Text File  |  1991-06-01  |  6KB  |  123 lines

  1.  
  2.  
  3. RealFun:  Real & Complex Math Libraries for QuickBASIC
  4. REALTOP.TXT
  5.  
  6. All the functions and subprograms included in the realfun library, organized by
  7. topic:
  8.  
  9.         Minimum & Maximum
  10. Usage                           Inputs          Outputs         Notes
  11. z = amin(x, y)                  x, y; sp        z, sp           min of x, y
  12. z# = dmin(x#, y#)               x#, y#; dp      z#, dp          min of x#, y#
  13. z = amax(x, y)                  x, y; sp        z, sp           max of x, y
  14. z# = dmax(x#, y#)               x#, y#; dp      z#, dp          max of x#, y#
  15.  
  16.         Cosine
  17. Usage                           Inputs          Outputs         Notes
  18. y = COS(x)                      x, sp           y, sp           x in radians
  19. y# = COS(X#)                    x#, dp          y#, dp          x# in radians
  20. y = cosd(x)                     x, sp           y, sp           x in degrees
  21. y# = dcosd(x#)                  x#, dp          y#, dp          x# in degrees
  22.  
  23.         Sine
  24. Usage                           Inputs          Outputs         Notes
  25. y = SIN(x)                      x, sp           y, sp           x in radians
  26. y# = SIN(X#)                    x#, dp          y#, dp          x# in radians
  27. y = sind(x)                     x, sp           y, sp           x in degrees
  28. y# = dsind(x#)                  x#, dp          y#, dp          x# in degrees
  29.  
  30.         Tangent
  31.  
  32. Usage                           Inputs          Outputs         Notes
  33. y = TAN(x)                      x, sp           y, sp           x in radians
  34. y# = TAN(X#)                    x#, dp          y#, dp          x# in radians
  35. y = tand(x)                     x, sp           y, sp           x in degrees
  36. y# = dtand(x#)                  x#, dp          y#, dp          x# in degrees
  37.  
  38.         Inverse Cosine
  39.  
  40. Usage                           Inputs          Outputs         Notes
  41. y = acos(x)                     x, sp           y, sp           y in radians
  42. y = acosd(x)                    x, sp           y, sp           y in degrees
  43. y# = dacos(x#)                  x#, dp          y#, dp          y# in radians
  44. y# = dacosd(x#)                 x#, dp          y#, dp          y# in degrees
  45.  
  46.         Inverse Sine
  47.  
  48. Usage                           Inputs          Outputs         Notes
  49. y = asin(x)                     x, sp           y, sp           y in radians
  50. y = asind(x)                    x, sp           y, sp           y in degrees
  51. y# = dasin(x#)                  x#, dp          y#, dp          y# in radians
  52. y# = dasind(x#)                 x#, dp          y#, dp          y# in degrees
  53.  
  54.  
  55.         Inverse Tangent
  56.  
  57. Usage                           Inputs          Outputs         Notes
  58. y = ATN(x)                      x, sp           y, sp           y in radians
  59. y = atnd(x)                     x, sp           y, sp           y in degrees
  60. z = atan(y, x)                  x, y; sp        z, sp           z in radians
  61.         use to determine proper quadrant of z
  62. z = atand(y, x)                 x, y; sp        z, sp           z in degrees
  63.         use to determine proper quadrant of z
  64. y# = ATN(X#)                    x#, dp          y#, dp          y# in radians
  65. y# = datnd(x#)                  x#, dp          y#, dp          y# in degrees
  66. z# = datan#(y#, x#)             x#, y#; dp      z#, dp          z in radians
  67.         use to determine proper quadrant of z#
  68. z# = datand#(y#, x#)            x#, y#; dp      z#, dp          z in degrees
  69.         use to determine proper quadrant of z#
  70.  
  71.         Hyperbolic Cosine
  72. Usage                           Inputs          Outputs         Notes
  73. y = cosh(x)                     x, sp           y, sp           real
  74. y# = dcosh(x#)                  x#, dp          y#, dp          real
  75.  
  76.         Hyperbolic Sine
  77. Usage                           Inputs          Outputs         Notes
  78. y = sinh(x)                     x, sp           y, sp           real
  79. y# = dsinh(x#)                  x#, dp          y#, dp          real
  80.  
  81.         Hyperbolic Tangent
  82. Usage                           Inputs          Outputs         Notes
  83. y = tanh(x)                     x, sp           y, sp           real
  84. y# = dtanh(x#)                  x#, dp          y#, dp          real
  85.  
  86.         Inverse Hyperbolic Cosine
  87. Usage                           Inputs          Outputs         Notes
  88. y = acosh(x)                    x, sp           y, sp           real
  89. y# = dacosh(x#)                 x#, dp          y#, dp          real
  90.  
  91.         Inverse Hyperbolic Sine
  92. Usage                           Inputs          Outputs         Notes
  93. y = asinh(x)                    x, sp           y, sp           real
  94. y# = dasinh(x#)                 x#, dp          y#, dp          real
  95.  
  96.         Inverse Hyperbolic Tangent
  97. Usage                           Inputs          Outputs         Notes
  98. y = atanh(x)                    x, sp           y, sp           real
  99. y# = datanh(x#)                 x#, dp          y#, dp          real
  100.  
  101.         Modulo
  102. Usage                           Inputs          Outputs         Notes
  103. y = x MOD k%                    x, sp; k% int   y, sp           uses integer
  104.  
  105.                                                                   base only
  106. y = amod(x, k)                  x, k; sp        y, sp           uses any base
  107. y# = x# MOD k%                  x, dp; k% int   y, dp           uses integer
  108.                                                                   base only
  109. y# = dmod(x#, k#)               x#, k#; dp      y#, dp          uses any base
  110.  
  111.         Exponentiation & Logarithms
  112. Usage                           Inputs          Outputs         Notes
  113. y = EXP(x)                      x, sp           y, sp           real
  114. y# = EXP(x#)                    x#, dp          y#, dp          real
  115. y = LOG(x)                      x, sp           y, sp           real
  116. y# = LOG(x#)                    x#, dp          y#, dp          real
  117.  
  118.  
  119. Notes:
  120. - Functions listed in UPPER CASE are intrinsic to Quick BASIC, and are 
  121.         included here for completeness.
  122. - The abbreviation sp means single-precision, dp means double-precision.
  123.