include: reduce default stack size
[minix.git] / include / complex.h
blob332be6f80ac0c724e9165147e96451ceb9b47163
1 /* $NetBSD: complex.h,v 1.3 2010/09/15 16:11:30 christos Exp $ */
3 /*
4 * Written by Matthias Drochner.
5 * Public domain.
6 */
8 #ifndef _COMPLEX_H
9 #define _COMPLEX_H
11 #define complex _Complex
12 #define _Complex_I 1.0fi
13 #define I _Complex_I
15 #include <sys/cdefs.h>
17 __BEGIN_DECLS
19 /* 7.3.5 Trigonometric functions */
20 /* 7.3.5.1 The cacos functions */
21 double complex cacos(double complex);
22 float complex cacosf(float complex);
24 /* 7.3.5.2 The casin functions */
25 double complex casin(double complex);
26 float complex casinf(float complex);
28 /* 7.3.5.1 The catan functions */
29 double complex catan(double complex);
30 float complex catanf(float complex);
32 /* 7.3.5.1 The ccos functions */
33 double complex ccos(double complex);
34 float complex ccosf(float complex);
36 /* 7.3.5.1 The csin functions */
37 double complex csin(double complex);
38 float complex csinf(float complex);
40 /* 7.3.5.1 The ctan functions */
41 double complex ctan(double complex);
42 float complex ctanf(float complex);
44 /* 7.3.6 Hyperbolic functions */
45 /* 7.3.6.1 The cacosh functions */
46 double complex cacosh(double complex);
47 float complex cacoshf(float complex);
49 /* 7.3.6.2 The casinh functions */
50 double complex casinh(double complex);
51 float complex casinhf(float complex);
53 /* 7.3.6.3 The catanh functions */
54 double complex catanh(double complex);
55 float complex catanhf(float complex);
57 /* 7.3.6.4 The ccosh functions */
58 double complex ccosh(double complex);
59 float complex ccoshf(float complex);
61 /* 7.3.6.5 The csinh functions */
62 double complex csinh(double complex);
63 float complex csinhf(float complex);
65 /* 7.3.6.6 The ctanh functions */
66 double complex ctanh(double complex);
67 float complex ctanhf(float complex);
69 /* 7.3.7 Exponential and logarithmic functions */
70 /* 7.3.7.1 The cexp functions */
71 double complex cexp(double complex);
72 float complex cexpf(float complex);
74 /* 7.3.7.2 The clog functions */
75 double complex clog(double complex);
76 float complex clogf(float complex);
78 /* 7.3.8 Power and absolute-value functions */
79 /* 7.3.8.1 The cabs functions */
80 #ifndef __LIBM0_SOURCE__
81 /* avoid conflict with historical cabs(struct complex) */
82 double cabs(double complex) __RENAME(__c99_cabs);
83 float cabsf(float complex) __RENAME(__c99_cabsf);
84 #endif
86 /* 7.3.8.2 The cpow functions */
87 double complex cpow(double complex, double complex);
88 float complex cpowf(float complex, float complex);
90 /* 7.3.8.3 The csqrt functions */
91 double complex csqrt(double complex);
92 float complex csqrtf(float complex);
94 /* 7.3.9 Manipulation functions */
95 /* 7.3.9.1 The carg functions */
96 double carg(double complex);
97 float cargf(float complex);
99 /* 7.3.9.2 The cimag functions */
100 double cimag(double complex);
101 float cimagf(float complex);
102 long double cimagl(long double complex);
104 /* 7.3.9.3 The conj functions */
105 double complex conj(double complex);
106 float complex conjf(float complex);
107 long double complex conjl(long double complex);
109 /* 7.3.9.4 The cproj functions */
110 double complex cproj(double complex);
111 float complex cprojf(float complex);
112 long double complex cprojl(long double complex);
114 /* 7.3.9.5 The creal functions */
115 double creal(double complex);
116 float crealf(float complex);
117 long double creall(long double complex);
119 __END_DECLS
121 #endif /* ! _COMPLEX_H */