Added more controller IDs.
[AROS.git] / compiler / mlib / complex.h
blob91c56dee58fc25ae51ae52b85ceb7ad4225e74f0
1 #ifndef _COMPLEX_H_
2 #define _COMPLEX_H_
3 /*
4 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
5 $Id$
7 Standard C Library: C99 complex.h
8 */
10 #include <aros/system.h>
12 /* GNU C provides an implementation of the complex type */
13 #ifdef __GNUC__
14 # define _Complex __complex__
15 # define _Complex_I 1.0fi
16 #endif
18 #define complex _Complex
19 #define I _Complex_I
21 __BEGIN_DECLS
23 double complex cacos(double complex z);
24 float complex cacosf(float complex z);
25 long double complex cacosl(long double complex z);
26 double complex casin(double complex z);
27 float complex casinf(float complex z);
28 long double complex casinl(long double complex z);
29 double complex catan(double complex z);
30 float complex catanf(float complex z);
31 long double complex catanl(long double complex z);
32 double complex ccos(double complex z);
33 float complex ccosf(float complex z);
34 long double complex ccosl(long double complex z);
35 double complex csin(double complex z);
36 float complex csinf(float complex z);
37 long double complex csinl(long double complex z);
38 double complex ctan(double complex z);
39 float complex ctanf(float complex z);
40 long double complex ctanl(long double complex z);
41 double complex cacosh(double complex z);
42 float complex cacoshf(float complex z);
43 long double complex cacoshl(long double complex z);
44 double complex casinh(double complex z);
45 float complex casinhf(float complex z);
46 long double complex casinhl(long double complex z);
47 double complex catanh(double complex z);
48 float complex catanhf(float complex z);
49 long double complex catanhl(long double complex z);
50 double complex ccosh(double complex z);
51 float complex ccoshf(float complex z);
52 long double complex ccoshl(long double complex z);
53 double complex csinh(double complex z);
54 float complex csinhf(float complex z);
55 long double complex csinhl(long double complex z);
56 double complex ctanh(double complex z);
57 float complex ctanhf(float complex z);
58 long double complex ctanhl(long double complex z);
59 double complex cexp(double complex z);
60 float complex cexpf(float complex z);
61 long double complex cexpl(long double complex z);
62 double complex clog(double complex z);
63 float complex clogf(float complex z);
64 long double complex clogl(long double complex z);
65 double cabs(double complex z);
66 float cabsf(float complex z);
67 long double cabsl(long double complex z);
68 double complex cpow(double complex x, double complex y);
69 float complex cpowf(float complex x, float complex y);
70 long double complex cpowl(long double complex x, long double complex y);
71 double complex csqrt(double complex z);
72 float complex csqrtf(float complex z);
73 long double complex csqrtl(long double complex z);
74 double carg(double complex z);
75 float cargf(float complex z);
76 long double cargl(long double complex z);
77 double cimag(double complex z);
78 float cimagf(float complex z);
79 long double cimagl(long double complex z);
80 double complex conj(double complex z);
81 float complex conjf(float complex z);
82 long double complex conjl(long double complex z);
83 double complex cproj(double complex z);
84 float complex cprojf(float complex z);
85 long double complex cprojl(long double complex z);
86 double creal(double complex z);
87 float crealf(float complex z);
88 long double creall(long double complex z);
90 __END_DECLS
92 #ifdef __GNUC__
93 #define cimag(z) (__imag__ (z))
94 #define cimagf(z) (__imag__ (z))
95 #define cimagl(z) (__imag__ (z))
97 #define creal(z) (__real__ (z))
98 #define crealf(z) (__real__ (z))
99 #define creall(z) (__real__ (z))
100 #endif
102 #endif /* _COMPLEX_H_ */