source: branches/libc-0.6/src/emx/include/complex.h

Last change on this file was 2150, checked in by bird, 20 years ago

o Shopped missing math stuff from GLIBC.

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.8 KB
Line 
1/*-
2 * Copyright (c) 2001 The FreeBSD Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: src/include/complex.h,v 1.6 2004/08/14 18:03:21 stefanf Exp $
27 */
28
29/**
30 * FreeBSD 5.3
31 */
32
33#ifndef _COMPLEX_H
34#define _COMPLEX_H
35
36#ifdef __GNUC__
37#if __STDC_VERSION__ < 199901
38#define _Complex __complex__
39#endif
40#define _Complex_I 1.0fi
41#endif
42
43#define complex _Complex
44#define I _Complex_I
45
46#include <sys/cdefs.h>
47
48__BEGIN_DECLS
49
50double cabs(double complex);
51float cabsf(float complex);
52double cimag(double complex);
53float cimagf(float complex);
54long double cimagl(long double complex);
55double complex conj(double complex);
56float complex conjf(float complex);
57long double complex
58 conjl(long double complex);
59double creal(double complex);
60float crealf(float complex);
61long double creall(long double complex);
62
63/* bird: */
64long double cabsl(long double complex);
65double complex cacos(double complex);
66float complex cacosf(float complex);
67double complex cacosh(double complex);
68float complex cacoshf(float complex);
69long double complex cacoshl(long double complex);
70long double complex cacosl(long double complex);
71double carg(double complex);
72float cargf(float complex);
73long double cargl(long double complex);
74double complex casin(double complex);
75float complex casinf(float complex);
76double complex casinh(double complex);
77float complex casinhf(float complex);
78long double complex casinhl(long double complex);
79long double complex casinl(long double complex);
80double complex catan(double complex);
81float complex catanf(float complex);
82double complex catanh(double complex);
83float complex catanhf(float complex);
84long double complex catanhl(long double complex);
85long double complex catanl(long double complex);
86double complex ccos(double complex);
87float complex ccosf(float complex);
88double complex ccosh(double complex);
89float complex ccoshf(float complex);
90long double complex ccoshl(long double complex);
91long double complex ccosl(long double complex);
92double complex cexp(double complex);
93float complex cexpf(float complex);
94long double complex cexpl(long double complex);
95double complex clog(double complex);
96float complex clogf(float complex);
97long double complex clogl(long double complex);
98double complex cpow(double complex, double complex);
99float complex cpowf(float complex, float complex);
100long double complex cpowl(long double complex, long double complex);
101double complex cproj(double complex);
102float complex cprojf(float complex);
103long double complex cprojl(long double complex);
104double complex csin(double complex);
105float complex csinf(float complex);
106double complex csinh(double complex);
107float complex csinhf(float complex);
108long double complex csinhl(long double complex);
109long double complex csinl(long double complex);
110double complex csqrt(double complex);
111float complex csqrtf(float complex);
112long double complex csqrtl(long double complex);
113double complex ctan(double complex);
114float complex ctanf(float complex);
115double complex ctanh(double complex);
116float complex ctanhf(float complex);
117long double complex ctanhl(long double complex);
118long double complex ctanl(long double complex);
119
120/* gnu extensions? */
121double complex clog10(double complex);
122float complex clog10f(float complex);
123long double complex clog10l(long double complex);
124__END_DECLS
125
126#endif /* _COMPLEX_H */
Note: See TracBrowser for help on using the repository browser.