summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-05-30 09:21:56 +0000
committerstefanf <stefanf@FreeBSD.org>2004-05-30 09:21:56 +0000
commit46d384e689b20d4fa11d4c6051b9fc07ed51f6a7 (patch)
treecca73df72b1a572235daee3b303356c8a91abd8e /include
parentdc3d5635fc39d5b5141e40c2ac69a1f0a5c3ad31 (diff)
downloadFreeBSD-src-46d384e689b20d4fa11d4c6051b9fc07ed51f6a7.zip
FreeBSD-src-46d384e689b20d4fa11d4c6051b9fc07ed51f6a7.tar.gz
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)
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 bb2ec97..1fa4bd1 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
OpenPOWER on IntegriCloud