1 /* Copyright (C) 2001-2019 Artifex Software, Inc.
2    All Rights Reserved.
3 
4    This software is provided AS-IS with no warranty, either express or
5    implied.
6 
7    This software is distributed under license and may not be copied,
8    modified or distributed except as expressly authorized under the terms
9    of the license contained in the file LICENSE in this distribution.
10 
11    Refer to licensing information at http://www.artifex.com or contact
12    Artifex Software, Inc.,  1305 Grant Avenue - Suite 200, Novato,
13    CA 94945, U.S.A., +1(415)492-9861, for further information.
14 */
15 
16 
17 /* Substitute for math.h on VAX/VMS systems */
18 
19 #ifndef vmsmath_INCLUDED
20 #  define vmsmath_INCLUDED
21 
22 /* DEC VAX/VMS C comes with a math.h file but GNU VAX/VMS C does not. */
23 /* This file substitutes for math.h when using GNU C. */
24 #  ifndef __MATH
25 #    define __MATH
26 #    if CC$gfloat
27 #      define HUGE_VAL 8.988465674311578540726371186585e+307
28 #    else
29 #      define HUGE_VAL 1.70141183460469229e+38
30 #    endif
31 extern double acos(), asin(), atan(), atan2();
32 extern double sin(), tan(), cos();
33 extern double cosh(), sinh(), tanh();
34 extern double exp(), frexp(), ldexp(), log(), log10(), pow();
35 extern double modf(), fmod(), sqrt(), ceil(), floor();
36 extern double fabs(), cabs(), hypot();
37 
38 #  endif
39 
40 #endif /* vmsmath_INCLUDED */
41