xref: /csrg-svn/lib/libm/common_source/math.h (revision 34931)
134126Sbostic /*
234126Sbostic  * Copyright (c) 1985 Regents of the University of California.
334126Sbostic  * All rights reserved.
434126Sbostic  *
534126Sbostic  * Redistribution and use in source and binary forms are permitted
6*34931Sbostic  * provided that the above copyright notice and this paragraph are
7*34931Sbostic  * duplicated in all such forms and that any documentation,
8*34931Sbostic  * advertising materials, and other materials related to such
9*34931Sbostic  * distribution and use acknowledge that the software was developed
10*34931Sbostic  * by the University of California, Berkeley.  The name of the
11*34931Sbostic  * University may not be used to endorse or promote products derived
12*34931Sbostic  * from this software without specific prior written permission.
13*34931Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*34931Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*34931Sbostic  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1634126Sbostic  *
1734126Sbostic  * All recipients should regard themselves as participants in an ongoing
1834126Sbostic  * research project and hence should feel obligated to report their
1934126Sbostic  * experiences (good or bad) with these elementary function codes, using
2034126Sbostic  * the sendbug(8) program, to the authors.
2134126Sbostic  *
22*34931Sbostic  *	@(#)math.h	5.3 (Berkeley) 06/30/88
2334126Sbostic  */
2424583Szliu 
2524583Szliu extern double asinh(), acosh(), atanh();
2624583Szliu extern double erf(), erfc();
2724583Szliu extern double exp(), expm1(), log(), log10(), log1p(), pow();
2824583Szliu extern double fabs(), floor(), ceil(), rint();
2924707Selefunt extern double lgamma();
3024583Szliu extern double hypot(), cabs();
3124583Szliu extern double copysign(), drem(), logb(), scalb();
3224583Szliu extern int finite();
3331904Szliu #if defined(vax)||defined(tahoe)
3424583Szliu extern double infnan();
3531904Szliu #endif	/* defined(vax)||defined(tahoe) */
3624583Szliu extern double j0(), j1(), jn(), y0(), y1(), yn();
3724583Szliu extern double sin(), cos(), tan(), asin(), acos(), atan(), atan2();
3824583Szliu extern double sinh(), cosh(), tanh();
3924583Szliu extern double cbrt(), sqrt();
4024583Szliu extern double modf(), ldexp(), frexp(), atof();
4124583Szliu 
4224583Szliu #define HUGE	1.701411733192644270e38
43