xref: /csrg-svn/lib/libm/common_source/math.h (revision 34126)
1 /*
2  * Copyright (c) 1985 Regents of the University of California.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms are permitted
6  * provided that this notice is preserved and that due credit is given
7  * to the University of California at Berkeley. The name of the University
8  * may not be used to endorse or promote products derived from this
9  * software without specific prior written permission. This software
10  * is provided ``as is'' without express or implied warranty.
11  *
12  * All recipients should regard themselves as participants in an ongoing
13  * research project and hence should feel obligated to report their
14  * experiences (good or bad) with these elementary function codes, using
15  * the sendbug(8) program, to the authors.
16  *
17  *	@(#)math.h	5.2 (Berkeley) 04/29/88
18  */
19 
20 extern double asinh(), acosh(), atanh();
21 extern double erf(), erfc();
22 extern double exp(), expm1(), log(), log10(), log1p(), pow();
23 extern double fabs(), floor(), ceil(), rint();
24 extern double lgamma();
25 extern double hypot(), cabs();
26 extern double copysign(), drem(), logb(), scalb();
27 extern int finite();
28 #if defined(vax)||defined(tahoe)
29 extern double infnan();
30 #endif	/* defined(vax)||defined(tahoe) */
31 extern double j0(), j1(), jn(), y0(), y1(), yn();
32 extern double sin(), cos(), tan(), asin(), acos(), atan(), atan2();
33 extern double sinh(), cosh(), tanh();
34 extern double cbrt(), sqrt();
35 extern double modf(), ldexp(), frexp(), atof();
36 
37 #define HUGE	1.701411733192644270e38
38