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

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