[BACK]Return to complex.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / include

Annotation of src/include/complex.h, Revision 1.2

1.2     ! drochner    1: /* $NetBSD: complex.h,v 1.1 2007/08/20 16:01:29 drochner Exp $ */
        !             2:
        !             3: /*
        !             4:  * Written by Matthias Drochner.
        !             5:  * Public domain.
        !             6:  */
1.1       drochner    7:
                      8: #define complex _Complex
                      9: #define _Complex_I 1.0fi
                     10: #define I _Complex_I
                     11:
                     12: #include <sys/cdefs.h>
                     13:
                     14: __BEGIN_DECLS
                     15:
                     16: double creal(double complex);
                     17: double cimag(double complex);
                     18: double complex conj(double complex);
                     19: float crealf(float complex);
                     20: float cimagf(float complex);
                     21: float complex conjf(float complex);
                     22:
                     23: #ifndef __LIBM0_SOURCE__
                     24: /* avoid conflict with historical cabs(struct complex) */
                     25: double cabs(double complex) __RENAME(__c99_cabs);
                     26: float cabsf(float complex) __RENAME(__c99_cabsf);
                     27: #endif
                     28: double carg(double complex);
                     29: float cargf(float complex);
                     30:
                     31: double complex csqrt(double complex);
                     32: double complex cexp(double complex);
                     33: double complex clog(double complex);
                     34: double complex cpow(double complex, double complex);
                     35:
                     36: double complex csin(double complex);
                     37: double complex ccos(double complex);
                     38: double complex ctan(double complex);
                     39: double complex csinh(double complex);
                     40: double complex ccosh(double complex);
                     41: double complex ctanh(double complex);
                     42:
                     43: double complex casin(double complex);
                     44: double complex cacos(double complex);
                     45: double complex catan(double complex);
                     46: double complex casinh(double complex);
                     47: double complex cacosh(double complex);
                     48: double complex catanh(double complex);
                     49:
                     50: float complex csqrtf(float complex);
                     51: float complex cexpf(float complex);
                     52: float complex clogf(float complex);
                     53: float complex cpowf(float complex, float complex);
                     54:
                     55: float complex csinf(float complex);
                     56: float complex ccosf(float complex);
                     57: float complex ctanf(float complex);
                     58: float complex csinhf(float complex);
                     59: float complex ccoshf(float complex);
                     60: float complex ctanhf(float complex);
                     61:
                     62: float complex casinf(float complex);
                     63: float complex cacosf(float complex);
                     64: float complex catanf(float complex);
                     65: float complex casinhf(float complex);
                     66: float complex cacoshf(float complex);
                     67: float complex catanhf(float complex);
                     68:
                     69: __END_DECLS

CVSweb <webmaster@jp.NetBSD.org>