Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / clib / include / complex.h
blob8b74838ccd6773675401ade2aa37a25fe79ab4d7
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 #warning AROS does not implement complex.h functions.
22 #if 0
23 __BEGIN_DECLS
24 double complex cacos(double complex z);
25 float complex cacosf(float complex z);
26 double complex casin(double complex z);
27 float complex casinf(float complex z);
28 double complex catan(double complex z);
29 float complex catanf(float complex z);
30 double complex ccos(double complex z);
31 float complex ccosf(float complex z);
32 double complex csin(double complex z);
33 float complex csinf(float complex z);
34 double complex ctan(double complex z);
35 float complex ctanf(float complex z);
36 double complex cacosh(double complex z);
37 float complex cacoshf(float complex z);
38 double complex casinh(double complex z);
39 float complex casinhf(float complex z);
40 double complex catanh(double complex z);
41 float complex catanhf(float complex z);
42 double complex ccosh(double complex z);
43 float complex ccoshf(float complex z);
44 double complex csinh(double complex z);
45 float complex csinhf(float complex z);
46 double complex ctanh(double complex z);
47 float complex ctanhf(float complex z);
48 double complex cexp(double complex z);
49 float complex cexpf(float complex z);
50 double complex clog(double complex z);
51 float complex clogf(float complex z);
52 double cabs(double complex z);
53 float cabsf(float complex z);
54 double complex cpow(double complex x, double complex y);
55 float complex cpowf(float complex x, float complex y);
56 double complex csqrt(double complex z);
57 float complex csqrtf(float complex z);
58 double carg(double complex z);
59 float cargf(float complex z);
60 double cimag(double complex z);
61 float cimagf(float complex z);
62 double complex conj(double complex z);
63 float complex conjf(float complex z);
64 double complex cproj(double complex z);
65 float complex cprojf(float complex z);
66 double creal(double complex z);
67 float crealf(float complex z);
69 /* long double is not necessary implemented */
70 #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
71 long double complex cacosl(long double complex z);
72 long double complex casinl(long double complex z);
73 long double complex catanl(long double complex z);
74 long double complex ccosl(long double complex z);
75 long double complex csinl(long double complex z);
76 long double complex ctanl(long double complex z);
77 long double complex cacoshl(long double complex z);
78 long double complex ccoshl(long double complex z);
79 long double complex casinhl(long double complex z);
80 long double complex catanhl(long double complex z);
81 long double complex csinhl(long double complex z);
82 long double complex ctanhl(long double complex z);
83 long double complex cexpl(long double complex z);
84 long double complex clogl(long double complex z);
85 long double cabsl(long double complex z);
86 long double complex cpowl(long double complex x, long double complex y);
87 long double complex csqrtl(long double complex z);
88 long double cargl(long double complex z);
89 long double cimagl(long double complex z);
90 long double complex conjl(long double complex z);
91 long double complex cprojl(long double complex z);
92 long double creall(long double complex z);
93 #endif
94 __END_DECLS
95 #endif
97 #ifdef __GNUC__
98 #define cimag(z) (__imag__ (z))
99 #define cimagf(z) (__imag__ (z))
100 #define cimagl(z) (__imag__ (z))
102 #define creal(z) (__imag__ (z))
103 #define crealf(z) (__imag__ (z))
104 #define creall(z) (__imag__ (z))
105 #endif
107 #endif /* _COMPLEX_H_ */