aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-05-30 09:21:56 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-05-30 09:21:56 +0000
commit8b5cd5a662ffc55be7f51b85af6c5d2a3cead19b (patch)
treecca73df72b1a572235daee3b303356c8a91abd8e /include
parent2e3cf2039be7e6e6117349a11c7b24d944f348f4 (diff)
downloadsrc-8b5cd5a662ffc55be7f51b85af6c5d2a3cead19b.tar.gz
src-8b5cd5a662ffc55be7f51b85af6c5d2a3cead19b.zip
Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They are
needed for cases where GCC's builtin functions cannot be used and for compilers that don't know about them. Approved by: das (mentor)
Notes
Notes: svn path=/head/; revision=129864
Diffstat (limited to 'include')
-rw-r--r--include/complex.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/include/complex.h b/include/complex.h
index bb2ec972c02b..1fa4bd1eac2f 100644
--- a/include/complex.h
+++ b/include/complex.h
@@ -41,12 +41,18 @@
__BEGIN_DECLS
-double cabs(double complex);
-float cabsf(float complex);
-double cimag(double complex);
-float cimagf(float complex);
-double creal(double complex);
-float crealf(float complex);
+double cabs(double complex);
+float cabsf(float complex);
+double cimag(double complex);
+float cimagf(float complex);
+long double cimagl(long double complex);
+double complex conj(double complex);
+float complex conjf(float complex);
+long double complex
+ conjl(long double complex);
+double creal(double complex);
+float crealf(float complex);
+long double creall(long double complex);
__END_DECLS