File: headers\cmplx.h

    1 /* various complex number defs */
    2 #ifndef _CMPLX_DEFINED
    3 #define _CMPLX_DEFINED
    4 
    5 
    6 struct DHyperComplex {
    7     double x,y;
    8     double z,t;
    9 };
   10 
   11 struct LHyperComplex {
   12     long x,y;
   13     long z,t;
   14 };
   15 
   16 struct DComplex {
   17     double x,y;
   18 };
   19 
   20 struct LDComplex {
   21     LDBL x,y;
   22 };
   23 
   24 struct LComplex {
   25     long x,y;
   26 };
   27 
   28 typedef struct  DComplex         _CMPLX;
   29 typedef struct  LDComplex        _LDCMPLX;
   30 typedef struct  LComplex         _LCMPLX;
   31 typedef struct  DHyperComplex    _HCMPLX;
   32 typedef struct  LHyperComplex    _LHCMPLX;
   33 #endif
   34