home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computerworld 1996 March
/
Computerworld_1996-03_cd.bin
/
idg_cd3
/
grafika
/
fraktaly
/
frasr192
/
cmplx.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-08
|
604b
|
37 lines
/* 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