/* ** -*- C -*- ** ** doubleComplex.h ** Made by Bruno JOFRET ** ** Started on Thu Nov 30 16:50:08 2006 jofret ** Last update Fri Mar 23 16:59:54 2007 jofret ** ** Copyright INRIA 2006 */ #ifndef __DOUBLECOMPLEX_H__ #define __DOUBLECOMPLEX_H__ #ifdef __STDC_VERSION__ # ifndef STDC # define STDC # endif # if __STDC_VERSION__ >= 199901L # ifndef STDC99 # define STDC99 # endif # endif #endif #include #ifndef STDC99 /* ** Hand made Double Complex definition ** { */ struct double_complex { double real; double imag; }; typedef struct double_complex doubleComplex; /* ** } */ #else /* ** Standard C99 Complex ** { */ #include typedef double complex doubleComplex; /* ** } */ #endif double zreals(doubleComplex); double zimags(doubleComplex); doubleComplex DoubleComplex(double, double); bool zisreals(doubleComplex); bool zisimags(doubleComplex); #endif /* !__DOUBLECOMPLEX_H__ */