home *** CD-ROM | disk | FTP | other *** search
- /* various complex number defs */
- #ifndef _CMPLX_DEFINED
- #define _CMPLX_DEFINED
-
- #ifndef PORT_H
- #include "port.h"
- #endif
-
- struct DHyperComplex {
- double x,y;
- double z,t;
- };
-
- struct LHyperComplex {
- long x,y;
- long z,t;
- };
-
- struct DComplex {
- double x,y;
- };
-
- struct LDComplex {
- LDBL x,y;
- };
-
- struct LComplex {
- long x,y;
- };
-
- typedef struct DComplex _CMPLX;
- typedef struct LDComplex _LDCMPLX;
- typedef struct LComplex _LCMPLX;
- typedef struct DHyperComplex _HCMPLX;
- typedef struct LHyperComplex _LHCMPLX;
- #endif
-