xref: /csrg-svn/include/math.h (revision 35678)
1*35678Sbostic /*
2*35678Sbostic  * Copyright (c) 1985 The Regents of the University of California.
3*35678Sbostic  * All rights reserved.
4*35678Sbostic  *
5*35678Sbostic  * Redistribution and use in source and binary forms are permitted
6*35678Sbostic  * provided that the above copyright notice and this paragraph are
7*35678Sbostic  * duplicated in all such forms and that any documentation,
8*35678Sbostic  * advertising materials, and other materials related to such
9*35678Sbostic  * distribution and use acknowledge that the software was developed
10*35678Sbostic  * by the University of California, Berkeley.  The name of the
11*35678Sbostic  * University may not be used to endorse or promote products derived
12*35678Sbostic  * from this software without specific prior written permission.
13*35678Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*35678Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*35678Sbostic  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16*35678Sbostic  *
17*35678Sbostic  * All recipients should regard themselves as participants in an ongoing
18*35678Sbostic  * research project and hence should feel obligated to report their
19*35678Sbostic  * experiences (good or bad) with these elementary function codes, using
20*35678Sbostic  * the sendbug(8) program, to the authors.
21*35678Sbostic  *
22*35678Sbostic  *	@(#)math.h	4.7 (Berkeley) 09/22/88
23*35678Sbostic  */
2412186Ssam 
2521039Smiriam extern double asinh(), acosh(), atanh();
2621039Smiriam extern double erf(), erfc();
2724334Smiriam extern double exp(), expm1(), log(), log10(), log1p(), pow();
2824692Smckusick extern double fabs(), floor(), ceil(), rint();
2924692Smckusick extern double lgamma();
3021039Smiriam extern double hypot(), cabs();
3121039Smiriam extern double copysign(), drem(), logb(), scalb();
32*35678Sbostic 
33*35678Sbostic #if defined(vax) || defined(tahoe)
3424334Smiriam extern double infnan();
3524334Smiriam #endif
36*35678Sbostic 
37*35678Sbostic extern int finite();
3821039Smiriam extern double j0(), j1(), jn(), y0(), y1(), yn();
3912186Ssam extern double sin(), cos(), tan(), asin(), acos(), atan(), atan2();
4012186Ssam extern double sinh(), cosh(), tanh();
4121039Smiriam extern double cbrt(), sqrt();
4221039Smiriam extern double modf(), ldexp(), frexp(), atof();
4312186Ssam 
44*35678Sbostic #define	HUGE	1.701411733192644270e38
45