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