[BACK]Return to dft.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / fft

Diff for /OpenXM_contrib2/asir2000/fft/dft.h between version 1.2 and 1.8

version 1.2, 2000/08/21 08:31:33 version 1.8, 2018/03/29 01:32:53
Line 23 
Line 23 
  * shall be made on your publication or presentation in any form of the   * shall be made on your publication or presentation in any form of the
  * results obtained by use of the SOFTWARE.   * results obtained by use of the SOFTWARE.
  * (4) In the event that you modify the SOFTWARE, you shall notify FLL by   * (4) In the event that you modify the SOFTWARE, you shall notify FLL by
  * e-mail at risa-admin@flab.fujitsu.co.jp of the detailed specification   * e-mail at risa-admin@sec.flab.fujitsu.co.jp of the detailed specification
  * for such modification or the source code of the modified part of the   * for such modification or the source code of the modified part of the
  * SOFTWARE.   * SOFTWARE.
  *   *
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/fft/dft.h,v 1.1.1.1 1999/12/03 07:39:08 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/fft/dft.h,v 1.7 2009/03/16 16:56:35 ohara Exp $
 */  */
 #if LONG_IS_32BIT  #if SIZEOF_LONG == 8
 #if defined(VISUAL)  typedef unsigned long UL;
 typedef unsigned _int64 UL;  #elif defined(HAVE_UNSIGNED_LONG_LONG)
 #else  
 typedef unsigned long long UL;  typedef unsigned long long UL;
   #elif defined(_MSC_VER)
   typedef unsigned _int64 UL;
 #endif  #endif
 #else  
 typedef unsigned long UL;  
 #endif  
   
 struct PrimesS {  struct PrimesS {
         int     prime, primroot;    int  prime, primroot;
         int  bitwid, d;    int  bitwid, d;
 };  };
   
 #if USE_FLOAT  #if defined(USE_FLOAT)
 #define NPrimes 536  #define NPrimes 536
 #else  #else
 #define NPrimes 13681  #define NPrimes 13681
 #endif  #endif
   
 #if USE_FLOAT  #if defined(USE_FLOAT)
 typedef float ModNum;  typedef float ModNum;
   
 #define AxBplusCmodP(ans,anstype,a,b,c,p,pinv) \  #define AxBplusCmodP(ans,anstype,a,b,c,p,pinv) \
Line 99  typedef float ModNum;
Line 97  typedef float ModNum;
   
 typedef unsigned int ModNum;  typedef unsigned int ModNum;
   
   /* XXX */
   #if defined(__DARWIN__)
   #undef DMAR
   #define DMAR(a1,a2,a3,d,r) (r)=dmar(a1,a2,a3,d);
   #endif
   
 #define AxBplusCmodP(ans,anstype,a,b,c,p,pinv) \  #define AxBplusCmodP(ans,anstype,a,b,c,p,pinv) \
   { DMAR(a,b,c,p,ans) }    { DMAR(a,b,c,p,ans) }
   
Line 119  typedef unsigned int ModNum;
Line 123  typedef unsigned int ModNum;
   
 void C_DFT_FORE(ModNum *,int,int,int,ModNum *,  void C_DFT_FORE(ModNum *,int,int,int,ModNum *,
 #ifdef POWA_STRIDE  #ifdef POWA_STRIDE
         int    int
 #else  #else
         ModNum *,int,ModNum,double,ModNum *    ModNum *,int,ModNum,double,ModNum *
 #endif  #endif
 );  );
   
 void C_DFT_BACK(ModNum *,int,int,int,ModNum *,  void C_DFT_BACK(ModNum *,int,int,int,ModNum *,
 #ifdef POWA_STRIDE  #ifdef POWA_STRIDE
                  int       int
 #else  #else
                  ModNum *,int,int,int,ModNum,ModNum,double,ModNum *       ModNum *,int,int,int,ModNum,ModNum,double,ModNum *
 #endif  #endif
 );  );
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.8

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>