STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ymath.h
Go to the documentation of this file.
1 /* ymath.h internal header */
2 #pragma once
3 #ifndef _YMATH
4 #define _YMATH
5 #ifndef RC_INVOKED
6 #include <yvals.h>
7  #pragma pack(push,_CRT_PACKING)
8  #pragma warning(push,_STL_WARNING_LEVEL)
9  #pragma warning(disable: _STL_DISABLED_WARNINGS)
10  #pragma push_macro("new")
11 
12  #undef new
13 
14  #if !defined(MRTDLL) || !defined(_CRTBLD)
15  #ifndef _M_CEE_PURE
17  #endif /* _M_CEE_PURE */
18  #endif /* !MRTDLL || !_CRTBLD */
19 
20  /* MACROS FOR _Dtest RETURN (0 => ZERO) */
21 #define _DENORM (-2) /* C9X only */
22 #define _FINITE (-1)
23 #define _INFCODE 1
24 #define _NANCODE 2
25 
26  /* MACROS FOR _Feraise ARGUMENT */
27 #define _FE_DIVBYZERO 0x04
28 #define _FE_INEXACT 0x20
29 #define _FE_INVALID 0x01
30 #define _FE_OVERFLOW 0x08
31 #define _FE_UNDERFLOW 0x10
32 
34 
35 typedef union
36  { /* pun float types as integer array */
37  unsigned short _Word[8];
38  float _Float;
39  double _Double;
40  long double _Long_double;
41  } _Dconst;
42 
43  /* double DECLARATIONS */
44 _CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Cosh(double, double);
46 _CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinh(double, double);
47 
48 _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short);
49 extern _CRTIMP2_PURE /* const */ _Dconst _Denorm, _Hugeval, _Inf,
50  _Nan, _Snan;
51 
52  /* float DECLARATIONS */
53 _CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FCosh(float, float);
55 _CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinh(float, float);
56 
57 _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FExp(float *, float, short);
58 extern _CRTIMP2_PURE /* const */ _Dconst _FDenorm, _FInf, _FNan, _FSnan;
59 
60  /* long double DECLARATIONS */
61 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LCosh(long double, long double);
62 _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LDtest(long double *);
63 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinh(long double, long double);
64 
65 _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LExp(long double *, long double, short);
66 extern _CRTIMP2_PURE /* const */ _Dconst _LDenorm, _LInf, _LNan, _LSnan;
67 
68  #if !defined(MRTDLL) || !defined(_CRTBLD)
69  #ifndef _M_CEE_PURE
71  #endif /* _M_CEE_PURE */
72  #endif /* !MRTDLL || !_CRTBLD */
73 
74  #pragma pop_macro("new")
75  #pragma warning(pop)
76  #pragma pack(pop)
77 #endif /* RC_INVOKED */
78 #endif /* _YMATH */
79 
80 /*
81  * Copyright (c) by P.J. Plauger. All rights reserved.
82  * Consult your license regarding permissions and restrictions.
83 V6.50:0009 */
#define __CLRCALL_PURE_OR_CDECL
Definition: vcruntime.h:153
_CRTIMP2_PURE _Dconst _Nan
#define _END_EXTERN_C
Definition: yvals.h:573
long double _Long_double
Definition: ymath.h:40
Definition: ymath.h:35
_CRTIMP2_PURE _Dconst _Inf
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinh(float, float)
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LCosh(long double, long double)
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LExp(long double *, long double, short)
#define _EXTERN_C
Definition: yvals.h:572
_CRTIMP2_PURE _Dconst _Snan
_CRTIMP2_PURE _Dconst _FDenorm
_CRTIMP2_PURE _Dconst _LSnan
_CRTIMP2_PURE _Dconst _LNan
_CRTIMP2_PURE _Dconst _LDenorm
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LDtest(long double *)
_CRTIMP2_PURE _Dconst _LInf
_CRTIMP2_PURE _Dconst _FInf
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FDtest(float *)
_CRTIMP2_PURE _Dconst _Hugeval
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FExp(float *, float, short)
_CRTIMP2_PURE _Dconst _FSnan
double _Double
Definition: ymath.h:39
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FCosh(float, float)
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Dtest(double *)
void __CLRCALL_PURE_OR_CDECL _Feraise(int)
_CRTIMP2_PURE _Dconst _FNan
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Cosh(double, double)
_CRTIMP2_PURE _Dconst _Denorm
float _Float
Definition: ymath.h:38
#define _CRTIMP2_PURE
Definition: yvals.h:527
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinh(long double, long double)
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinh(double, double)