date and time created 88/12/14 15:29:53 by sklower
[unix-history] / usr / src / include / math.h
CommitLineData
6affdc2b
KB
1/*
2 * Copyright (c) 1985 The 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 the above copyright notice and this paragraph are
7 * duplicated in all such forms and that any documentation,
8 * advertising materials, and other materials related to such
9 * distribution and use acknowledge that the software was developed
10 * by the University of California, Berkeley. The name of the
11 * University may not be used to endorse or promote products derived
12 * from this software without specific prior written permission.
13 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16 *
17 * All recipients should regard themselves as participants in an ongoing
18 * research project and hence should feel obligated to report their
19 * experiences (good or bad) with these elementary function codes, using
20 * the sendbug(8) program, to the authors.
21 *
22 * @(#)math.h 4.7 (Berkeley) %G%
23 */
d60db641 24
35df2466
MAN
25extern double asinh(), acosh(), atanh();
26extern double erf(), erfc();
2a3459cd 27extern double exp(), expm1(), log(), log10(), log1p(), pow();
f9628029
KM
28extern double fabs(), floor(), ceil(), rint();
29extern double lgamma();
35df2466
MAN
30extern double hypot(), cabs();
31extern double copysign(), drem(), logb(), scalb();
6affdc2b
KB
32
33#if defined(vax) || defined(tahoe)
2a3459cd
MAN
34extern double infnan();
35#endif
6affdc2b
KB
36
37extern int finite();
d60db641 38extern double j0(), j1(), jn(), y0(), y1(), yn();
35df2466
MAN
39extern double sin(), cos(), tan(), asin(), acos(), atan(), atan2();
40extern double sinh(), cosh(), tanh();
41extern double cbrt(), sqrt();
42extern double modf(), ldexp(), frexp(), atof();
d60db641 43
6affdc2b 44#define HUGE 1.701411733192644270e38