vmsmath.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* Copyright (C) 1989 Aladdin Enterprises. All rights reserved.
  2. This software is provided AS-IS with no warranty, either express or
  3. implied.
  4. This software is distributed under license and may not be copied,
  5. modified or distributed except as expressly authorized under the terms
  6. of the license contained in the file LICENSE in this distribution.
  7. For more information about licensing, please refer to
  8. http://www.ghostscript.com/licensing/. For information on
  9. commercial licensing, go to http://www.artifex.com/licensing/ or
  10. contact Artifex Software, Inc., 101 Lucas Valley Road #110,
  11. San Rafael, CA 94903, U.S.A., +1(415)492-9861.
  12. */
  13. /* $Id: vmsmath.h,v 1.4 2002/02/21 22:24:54 giles Exp $ */
  14. /* Substitute for math.h on VAX/VMS systems */
  15. #ifndef vmsmath_INCLUDED
  16. # define vmsmath_INCLUDED
  17. /* DEC VAX/VMS C comes with a math.h file but GNU VAX/VMS C does not. */
  18. /* This file substitutes for math.h when using GNU C. */
  19. # ifndef __MATH
  20. # define __MATH
  21. # if CC$gfloat
  22. # define HUGE_VAL 8.988465674311578540726371186585e+307
  23. # else
  24. # define HUGE_VAL 1.70141183460469229e+38
  25. # endif
  26. extern double acos(), asin(), atan(), atan2();
  27. extern double sin(), tan(), cos();
  28. extern double cosh(), sinh(), tanh();
  29. extern double exp(), frexp(), ldexp(), log(), log10(), pow();
  30. extern double modf(), fmod(), sqrt(), ceil(), floor();
  31. extern double fabs(), cabs(), hypot();
  32. # endif
  33. #endif /* vmsmath_INCLUDED */