=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/fft/dft.h,v retrieving revision 1.5 retrieving revision 1.9 diff -u -p -r1.5 -r1.9 --- OpenXM_contrib2/asir2000/fft/dft.h 2007/09/15 10:17:08 1.5 +++ OpenXM_contrib2/asir2000/fft/dft.h 2020/10/04 03:14:08 1.9 @@ -45,21 +45,21 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2000/fft/dft.h,v 1.4 2003/02/14 22:29:10 ohara Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/fft/dft.h,v 1.8 2018/03/29 01:32:53 noro Exp $ */ -#if defined(LONG_IS_32BIT) -#if defined(VISUAL) -typedef unsigned _int64 UL; -#else +#if SIZEOF_LONG == 8 +typedef unsigned long UL; +#elif defined(HAVE_UNSIGNED_LONG_LONG) typedef unsigned long long UL; +#elif defined(_MSC_VER) +typedef unsigned _int64 UL; #endif -#else -typedef unsigned long UL; -#endif +int dmar(int,int,int,int); + struct PrimesS { - int prime, primroot; - int bitwid, d; + int prime, primroot; + int bitwid, d; }; #if defined(USE_FLOAT) @@ -125,17 +125,17 @@ typedef unsigned int ModNum; void C_DFT_FORE(ModNum *,int,int,int,ModNum *, #ifdef POWA_STRIDE - int + int #else - ModNum *,int,ModNum,double,ModNum * + ModNum *,int,ModNum,double,ModNum * #endif ); void C_DFT_BACK(ModNum *,int,int,int,ModNum *, #ifdef POWA_STRIDE - int + int #else - ModNum *,int,int,int,ModNum,ModNum,double,ModNum * + ModNum *,int,int,int,ModNum,ModNum,double,ModNum * #endif );