diff options
author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-05-30 09:21:56 +0000 |
---|---|---|
committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-05-30 09:21:56 +0000 |
commit | 8b5cd5a662ffc55be7f51b85af6c5d2a3cead19b (patch) | |
tree | cca73df72b1a572235daee3b303356c8a91abd8e /include/complex.h | |
parent | 2e3cf2039be7e6e6117349a11c7b24d944f348f4 (diff) |
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/complex.h')
-rw-r--r-- | include/complex.h | 18 |
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 |