summaryrefslogtreecommitdiffstats
path: root/modules/fdlibm/src/fdlibm.h
blob: 048e7639525d336a502aa7b5cb2d8a824b8c4fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*
 * ====================================================
 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
 *
 * Developed at SunPro, a Sun Microsystems, Inc. business.
 * Permission to use, copy, modify, and distribute this
 * software is freely granted, provided that this notice
 * is preserved.
 * ====================================================
 */

/*
 * from: @(#)fdlibm.h 5.1 93/09/24
 * $FreeBSD$
 */

#ifndef mozilla_imported_fdlibm_h
#define	mozilla_imported_fdlibm_h

namespace fdlibm {

#ifndef M_PI_2
#define	M_PI_2		1.57079632679489661923	/* pi/2 */
#endif

double	acos(double);
double	asin(double);
double	atan(double);
double	atan2(double, double);
double	cos(double);
double	sin(double);
double	tan(double);

double	cosh(double);
double	sinh(double);
double	tanh(double);

double	exp(double);
double	log(double);
double	log10(double);

double	pow(double, double);

double	ceil(double);
double	fabs(double);
double	floor(double);

double	acosh(double);
double	asinh(double);
double	atanh(double);
double	cbrt(double);
double	exp2(double);
double	expm1(double);
double	hypot(double, double);
double	log1p(double);
double	log2(double);
double	rint(double);
double	copysign(double, double);
double	nearbyint(double);
double	scalbn(double, int);
double	trunc(double);
float	acosf(float);
float	asinf(float);
float	atanf(float);
float	cosf(float);
float	sinf(float);
float	tanf(float);
float	exp2f(float);
float	expf(float);
float	logf(float);
float	powf(float, float);
float	sqrtf(float);

float	ceilf(float);
float	fabsf(float);
float	floorf(float);
float	nearbyintf(float);
float	rintf(float);
float	scalbnf(float, int);
float	truncf(float);

} /* namespace fdlibm */

#endif /* !mozilla_imported_fdlibm_h */