Subversion Repositories Kolibri OS

Rev

Rev 4874 | Rev 6099 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4349 Serge 1
/* $NetBSD: complex.h,v 1.3 2010/09/15 16:11:30 christos Exp $ */
2
 
3
/*
4
 * Written by Matthias Drochner.
5
 * Public domain.
6
 */
7
 
8
#ifndef	_COMPLEX_H
9
#define	_COMPLEX_H
10
 
11
#define complex _Complex
12
#define _Complex_I 1.0fi
13
#define I _Complex_I
14
 
15
#include 
16
 
17
__BEGIN_DECLS
18
 
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);
23
 
24
/* 7.3.5.2 The casin functions */
25
double complex casin(double complex);
26
float complex casinf(float complex);
27
 
28
/* 7.3.5.1 The catan functions */
29
double complex catan(double complex);
30
float complex catanf(float complex);
31
 
32
/* 7.3.5.1 The ccos functions */
33
double complex ccos(double complex);
34
float complex ccosf(float complex);
35
 
36
/* 7.3.5.1 The csin functions */
37
double complex csin(double complex);
38
float complex csinf(float complex);
39
 
40
/* 7.3.5.1 The ctan functions */
41
double complex ctan(double complex);
42
float complex ctanf(float complex);
43
 
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);
48
 
49
/* 7.3.6.2 The casinh functions */
50
double complex casinh(double complex);
51
float complex casinhf(float complex);
52
 
53
/* 7.3.6.3 The catanh functions */
54
double complex catanh(double complex);
55
float complex catanhf(float complex);
56
 
57
/* 7.3.6.4 The ccosh functions */
58
double complex ccosh(double complex);
59
float complex ccoshf(float complex);
60
 
61
/* 7.3.6.5 The csinh functions */
62
double complex csinh(double complex);
63
float complex csinhf(float complex);
64
 
65
/* 7.3.6.6 The ctanh functions */
66
double complex ctanh(double complex);
67
float complex ctanhf(float complex);
68
 
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);
73
 
74
/* 7.3.7.2 The clog functions */
75
double complex clog(double complex);
76
float complex clogf(float complex);
77
 
78
/* 7.3.8 Power and absolute-value functions */
79
/* 7.3.8.1 The cabs functions */
4921 Serge 80
/*#ifndef __LIBM0_SOURCE__ */
4349 Serge 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
85
*/
86
double cabs(double complex) ;
87
float cabsf(float complex) ;
88
 
89
/* 7.3.8.2 The cpow functions */
90
double complex cpow(double complex, double complex);
91
float complex cpowf(float complex, float complex);
92
 
93
/* 7.3.8.3 The csqrt functions */
94
double complex csqrt(double complex);
95
float complex csqrtf(float complex);
96
 
97
/* 7.3.9 Manipulation functions */
98
/* 7.3.9.1 The carg functions */
99
double carg(double complex);
100
float cargf(float complex);
101
 
102
/* 7.3.9.2 The cimag functions */
103
double cimag(double complex);
104
float cimagf(float complex);
105
/*long double cimagl(long double complex); */
106
 
107
/* 7.3.9.3 The conj functions */
108
double complex conj(double complex);
109
float complex conjf(float complex);
110
/*long double complex conjl(long double complex); */
111
 
112
/* 7.3.9.4 The cproj functions */
113
double complex cproj(double complex);
114
float complex cprojf(float complex);
115
/*long double complex cprojl(long double complex); */
116
 
117
/* 7.3.9.5 The creal functions */
118
double creal(double complex);
119
float crealf(float complex);
120
/*long double creall(long double complex); */
121
 
122
__END_DECLS
123
 
124
#endif	/* ! _COMPLEX_H */