Leaked source code of windows server 2003
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.

45 lines
1.4 KiB

  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. _CRTIMP2 double __cdecl _Cosh(double, double);
  23. _CRTIMP2 short __cdecl _Dtest(double *);
  24. _CRTIMP2 short __cdecl _Exp(double *, double, short);
  25. _CRTIMP2 double __cdecl _Sinh(double, double);
  26. extern _CRTIMP2 const _Dconst _Denorm, _Hugeval, _Inf, _Nan, _Snan;
  27. /* float DECLARATIONS */
  28. _CRTIMP2 float __cdecl _FCosh(float, float);
  29. _CRTIMP2 short __cdecl _FDtest(float *);
  30. _CRTIMP2 short __cdecl _FExp(float *, float, short);
  31. _CRTIMP2 float __cdecl _FSinh(float, float);
  32. extern _CRTIMP2 const _Dconst _FDenorm, _FInf, _FNan, _FSnan;
  33. /* long double DECLARATIONS */
  34. _CRTIMP2 long double __cdecl _LCosh(long double, long double);
  35. _CRTIMP2 short __cdecl _LDtest(long double *);
  36. _CRTIMP2 short __cdecl _LExp(long double *, long double, short);
  37. _CRTIMP2 long double __cdecl _LSinh(long double, long double);
  38. extern _CRTIMP2 const _Dconst _LDenorm, _LInf, _LNan, _LSnan;
  39. _END_C_LIB_DECL
  40. #endif /* _YMATH */
  41. /*
  42. * Copyright (c) 1995 by P.J. Plauger. ALL RIGHTS RESERVED.
  43. * Consult your license regarding permissions and restrictions.
  44. */