home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Super Collection / Windows 95 Super Collection.iso / win95 / bench / thread / fpcalc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-13  |  679 b   |  33 lines

  1. // FPCALC.H -- Prototypes for floating point calculations.
  2. #if !defined(_FPCALC_H)
  3.     #define _FPCALC_H
  4.  
  5. #include <windows.h>
  6.  
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10.  
  11. // Called from THRDOMTR.CPP
  12. UINT DoFloatingPointCalc(UINT uReps, UINT uRepsThisPass, UINT uCurrentReps);
  13.  
  14. // For complex numbers.
  15. struct complex 
  16.     float rp;
  17.    float ip;             
  18. };
  19.  
  20. // Functions used internally for calculations.
  21. float Cos (float x);
  22. void Uniform11(long iy, float yfl);    
  23. void Exptab(int n, struct complex e[]);
  24. void Fft( int n, struct complex z[], struct complex w[], struct complex e[], float sqrinv);
  25. void Oscar(void);
  26.  
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30.  
  31. #endif
  32.