home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / sharewar / dos / program / gs300sr1 / gs300sr1.exe / VMSMATH.H < prev    next >
C/C++ Source or Header  |  1994-07-27  |  2KB  |  37 lines

  1. /* Copyright (C) 1989 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17. */
  18.  
  19. /* vmsmath.h */
  20. /* Substitute for math.h on VAX/VMS systems */
  21.  
  22. /*  DEC VAX/VMS C comes with a math.h file but GNU VAX/VMS C does not */
  23. #  ifndef __MATH
  24. #    define __MATH
  25. #    if CC$gfloat
  26. #      define HUGE_VAL 8.988465674311578540726371186585e+307
  27. #    else
  28. #      define HUGE_VAL 1.70141183460469229e+38
  29. #    endif
  30.      extern double acos(), asin(), atan(), atan2();
  31.      extern double sin(), tan(), cos();
  32.      extern double cosh(), sinh(), tanh();
  33.      extern double exp(), frexp(), ldexp(), log(), log10(), pow();
  34.      extern double modf(), fmod(), sqrt(), ceil(), floor();
  35.      extern double fabs(), cabs(), hypot();
  36. #  endif
  37.