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

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

1.3.12.1! tls         1: /* $NetBSD: complex.h,v 1.3 2010/09/15 16:11:30 christos Exp $ */
1.2       drochner    2:
                      3: /*
                      4:  * Written by Matthias Drochner.
                      5:  * Public domain.
                      6:  */
1.1       drochner    7:
1.3       christos    8: #ifndef        _COMPLEX_H
                      9: #define        _COMPLEX_H
                     10:
1.1       drochner   11: #define complex _Complex
                     12: #define _Complex_I 1.0fi
                     13: #define I _Complex_I
                     14:
                     15: #include <sys/cdefs.h>
                     16:
                     17: __BEGIN_DECLS
                     18:
1.3       christos   19: /* 7.3.5 Trigonometric functions */
                     20: /* 7.3.5.1 The cacos functions */
                     21: double complex cacos(double complex);
                     22: float complex cacosf(float complex);
1.3.12.1! tls        23: long double complex cacosl(long double complex);
1.3       christos   24:
                     25: /* 7.3.5.2 The casin functions */
                     26: double complex casin(double complex);
                     27: float complex casinf(float complex);
1.3.12.1! tls        28: long double complex casinl(long double complex);
1.1       drochner   29:
1.3       christos   30: /* 7.3.5.1 The catan functions */
                     31: double complex catan(double complex);
                     32: float complex catanf(float complex);
1.3.12.1! tls        33: long double complex catanl(long double complex);
1.1       drochner   34:
1.3       christos   35: /* 7.3.5.1 The ccos functions */
                     36: double complex ccos(double complex);
                     37: float complex ccosf(float complex);
1.3.12.1! tls        38: long double complex ccosl(long double complex);
1.1       drochner   39:
1.3       christos   40: /* 7.3.5.1 The csin functions */
1.1       drochner   41: double complex csin(double complex);
1.3       christos   42: float complex csinf(float complex);
1.3.12.1! tls        43: long double complex csinl(long double complex);
1.3       christos   44:
                     45: /* 7.3.5.1 The ctan functions */
1.1       drochner   46: double complex ctan(double complex);
1.3       christos   47: float complex ctanf(float complex);
1.3.12.1! tls        48: long double complex ctanl(long double complex);
1.3       christos   49:
                     50: /* 7.3.6 Hyperbolic functions */
                     51: /* 7.3.6.1 The cacosh functions */
                     52: double complex cacosh(double complex);
                     53: float complex cacoshf(float complex);
1.3.12.1! tls        54: long double complex cacoshl(long double complex);
1.1       drochner   55:
1.3       christos   56: /* 7.3.6.2 The casinh functions */
1.1       drochner   57: double complex casinh(double complex);
1.3       christos   58: float complex casinhf(float complex);
1.3.12.1! tls        59: long double complex casinhl(long double complex);
1.3       christos   60:
                     61: /* 7.3.6.3 The catanh functions */
1.1       drochner   62: double complex catanh(double complex);
1.3       christos   63: float complex catanhf(float complex);
1.3.12.1! tls        64: long double complex catanhl(long double complex);
1.3       christos   65:
                     66: /* 7.3.6.4 The ccosh functions */
                     67: double complex ccosh(double complex);
                     68: float complex ccoshf(float complex);
1.3.12.1! tls        69: long double complex ccoshl(long double complex);
1.3       christos   70:
                     71: /* 7.3.6.5 The csinh functions */
                     72: double complex csinh(double complex);
                     73: float complex csinhf(float complex);
1.3.12.1! tls        74: long double complex csinhl(long double complex);
1.3       christos   75:
                     76: /* 7.3.6.6 The ctanh functions */
                     77: double complex ctanh(double complex);
                     78: float complex ctanhf(float complex);
1.3.12.1! tls        79: long double complex ctanhl(long double complex);
1.1       drochner   80:
1.3       christos   81: /* 7.3.7 Exponential and logarithmic functions */
                     82: /* 7.3.7.1 The cexp functions */
                     83: double complex cexp(double complex);
1.1       drochner   84: float complex cexpf(float complex);
1.3.12.1! tls        85: long double complex cexpl(long double complex);
1.3       christos   86:
                     87: /* 7.3.7.2 The clog functions */
                     88: double complex clog(double complex);
1.1       drochner   89: float complex clogf(float complex);
1.3.12.1! tls        90: long double complex clogl(long double complex);
1.3       christos   91:
                     92: /* 7.3.8 Power and absolute-value functions */
                     93: /* 7.3.8.1 The cabs functions */
                     94: #ifndef __LIBM0_SOURCE__
                     95: /* avoid conflict with historical cabs(struct complex) */
                     96: double cabs(double complex) __RENAME(__c99_cabs);
                     97: float cabsf(float complex) __RENAME(__c99_cabsf);
1.3.12.1! tls        98: long double cabsl(long double complex) __RENAME(__c99_cabsl);
1.3       christos   99: #endif
                    100:
                    101: /* 7.3.8.2 The cpow functions */
                    102: double complex cpow(double complex, double complex);
1.1       drochner  103: float complex cpowf(float complex, float complex);
1.3.12.1! tls       104: long double complex cpowl(long double complex, long double complex);
1.1       drochner  105:
1.3       christos  106: /* 7.3.8.3 The csqrt functions */
                    107: double complex csqrt(double complex);
                    108: float complex csqrtf(float complex);
1.3.12.1! tls       109: long double complex csqrtl(long double complex);
1.3       christos  110:
                    111: /* 7.3.9 Manipulation functions */
                    112: /* 7.3.9.1 The carg functions */
                    113: double carg(double complex);
                    114: float cargf(float complex);
1.3.12.1! tls       115: long double cargl(long double complex);
1.3       christos  116:
                    117: /* 7.3.9.2 The cimag functions */
                    118: double cimag(double complex);
                    119: float cimagf(float complex);
                    120: long double cimagl(long double complex);
                    121:
                    122: /* 7.3.9.3 The conj functions */
                    123: double complex conj(double complex);
                    124: float complex conjf(float complex);
                    125: long double complex conjl(long double complex);
                    126:
                    127: /* 7.3.9.4 The cproj functions */
                    128: double complex cproj(double complex);
                    129: float complex cprojf(float complex);
                    130: long double complex cprojl(long double complex);
1.1       drochner  131:
1.3       christos  132: /* 7.3.9.5 The creal functions */
                    133: double creal(double complex);
                    134: float crealf(float complex);
                    135: long double creall(long double complex);
1.1       drochner  136:
                    137: __END_DECLS
1.3       christos  138:
                    139: #endif /* ! _COMPLEX_H */

CVSweb <webmaster@jp.NetBSD.org>