home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_08_04 / 8n04135a < prev    next >
Text File  |  1990-03-20  |  1KB  |  31 lines

  1. *****Listing 1*****
  2.  
  3. atan(),     /* arc tangent */ 
  4. sin(),      /* sine */
  5. atan2(),    /* atan2(a,b) = arctan of a/b */
  6. sinh(),     /* hyperbolic sine */
  7. cos(),      /* cosine */
  8. sqrt(),     /* square root */
  9. cosh(),     /* hyperbolic cosine */
  10. tan(),      /* tangent */
  11. exp(),      /* exponential */
  12. tanh();     /* hyperbolic tangent */
  13. log(),      /* natural logarithm */
  14. pow(),      /* pow(x,y) = x**y */
  15. log10(),    /* log base 10 */
  16.  
  17. float(x); double x;    /* integer to floating point 
  18.                           conversion */
  19. fmod(x,y); double x,y; /* mod(x,y) /
  20.                           if 0 < y
  21.                           then 0 <= mod(x,y) < y and 
  22.                           x = n*y + mod(x,y)
  23.                           for some integer n */
  24. fabs(x); double x;     /* absolute value */
  25. floor(x); double x;    /* largest integer not greater
  26.                           than */
  27. ceil(x); double x;   /* smallest integer not less than */
  28. rand();              /* random number in range 0...1 */
  29.  
  30.  
  31.