Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB

  1. /***************************************
  2. This is the header file for the statistics package
  3. ***************************************/
  4. #if (defined (NTNAT) || defined (OS2SS))
  5. #define FAR
  6. #define PASCAL
  7. #define far
  8. #define double ULONG /* this needs to be changed when flt support
  9. becomes available under NT */
  10. #define BOOL BOOLEAN
  11. #endif
  12. #if (defined (WIN16) || defined (WIN32) || defined (MIPS) || defined (DOS))
  13. #define SHORT short
  14. #define ULONG DWORD
  15. #define USHORT WORD
  16. #define PSHORT short *
  17. #define PSZ LPSTR
  18. #define PUSHORT USHORT far *
  19. #define PULONG ULONG far *
  20. #define FAR far
  21. #endif
  22. #if (defined (WIN16))
  23. #define PLONG LPSTR
  24. #endif
  25. #ifdef OS2386
  26. #define far
  27. #endif
  28. #define STAT_ERROR_ILLEGAL_MIN_ITER 1
  29. #define STAT_ERROR_ILLEGAL_MAX_ITER 2
  30. #define STAT_ERROR_ALLOC_FAILED 3
  31. #define STAT_ERROR_ILLEGAL_BOUNDS 4
  32. #define DEFAULT_OUTLIER_FACTOR 4
  33. USHORT FAR PASCAL TestStatOpen (USHORT, USHORT);
  34. VOID FAR PASCAL TestStatInit (VOID);
  35. BOOL FAR PASCAL TestStatConverge (ULONG);
  36. VOID FAR PASCAL TestStatValues (PSZ, USHORT, PULONG far *, PUSHORT,
  37. PUSHORT);
  38. VOID FAR PASCAL TestStatClose (VOID);
  39. ULONG FAR PASCAL TestStatRand (ULONG, ULONG);
  40. double FAR PASCAL TestStatUniRand (VOID);
  41. USHORT FAR PASCAL TestStatShortRand (VOID);
  42. LONG FAR PASCAL TestStatNormDist (ULONG, USHORT);
  43. LONG FAR PASCAL TestStatOldDist (ULONG, USHORT);