home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / ymath.h < prev    next >
C/C++ Source or Header  |  1998-06-16  |  1KB  |  46 lines

  1. /* ymath.h internal header */
  2. #ifndef _YMATH
  3. #define _YMATH
  4. #include <wctype.h>
  5. #include <math.h>
  6. #ifndef _YVALS
  7. #include <yvals.h>
  8. #endif
  9.         /* MACROS */
  10. #define _FINITE        -1
  11. #define _INFCODE    1
  12. #define _NANCODE    2
  13.         /* TYPE DEFINITIONS */
  14. typedef union {
  15.     unsigned short _W[5];
  16.     float _F;
  17.     double _D;
  18.     long double _L;
  19.     } _Dconst;
  20. _C_LIB_DECL
  21.         /* double DECLARATIONS */
  22. _CRTIMP double __cdecl _Cosh(double, double);
  23. _CRTIMP short __cdecl _Dtest(double *);
  24. _CRTIMP short __cdecl _Exp(double *, double, short);
  25. _CRTIMP double __cdecl _Sinh(double, double);
  26. extern _CRTIMP const _Dconst _Denorm, _Hugeval, _Inf, _Nan, _Snan;
  27.         /* float DECLARATIONS */
  28. _CRTIMP float __cdecl _FCosh(float, float);
  29. _CRTIMP short __cdecl _FDtest(float *);
  30. _CRTIMP short __cdecl _FExp(float *, float, short);
  31. _CRTIMP float __cdecl _FSinh(float, float);
  32. extern _CRTIMP const _Dconst _FDenorm, _FInf, _FNan, _FSnan;
  33.         /* long double DECLARATIONS */
  34. _CRTIMP long double __cdecl _LCosh(long double, long double);
  35. _CRTIMP short __cdecl _LDtest(long double *);
  36. _CRTIMP short __cdecl _LExp(long double *, long double, short);
  37. _CRTIMP long double __cdecl _LSinh(long double, long double);
  38. extern _CRTIMP const _Dconst _LDenorm, _LInf, _LNan, _LSnan;
  39. _END_C_LIB_DECL
  40. #endif /* _YMATH */
  41.  
  42. /*
  43.  * Copyright (c) 1995 by P.J. Plauger.  ALL RIGHTS RESERVED. 
  44.  * Consult your license regarding permissions and restrictions.
  45.  */
  46.