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