home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_GEN / FACETV.ZIP / MATH_AUX.H < prev    next >
C/C++ Source or Header  |  1993-10-07  |  506b  |  25 lines

  1. /*
  2. ** @(#)math_aux.h    07/02/92    Chris Ahlstrom
  3. **
  4. **    Additional useful math routines from math_aux.c.
  5. */
  6.  
  7.  
  8. #ifndef MATH_AUX_h            /* { MATH_AUX_h definition    */
  9. #define MATH_AUX_h
  10.  
  11. #include <math.h>
  12.  
  13. #define PI        3.14159265358979323846264338
  14. #define HUGE_LONG_INT     2147483647L
  15. #define LOW_LONG_INT    -2147483648L
  16.  
  17. #define ln(x)            log(x)
  18. #define expon(base, ex)        exp((ex) * log(base))
  19.  
  20. extern long round( double x );
  21. extern int iround( double x );
  22.  
  23.  
  24. #endif                    /* } MATH_AUX_h definition    */
  25.