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