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>
8  #pragma pack(push,_CRT_PACKING)
9  #pragma warning(push,3)
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);
45 _CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Divide(double, double);
47 _CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Log(double, int);
49 _CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sin(double, unsigned int);
50 _CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinx(double, unsigned int, int);
51 _CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinh(double, double);
52 
53 _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short);
54 extern _CRTIMP2_PURE /* const */ _Dconst _Denorm, _Hugeval, _Inf,
55  _Nan, _Snan;
56 
57  /* float DECLARATIONS */
58 _CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FCosh(float, float);
63 _CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSin(float, unsigned int);
64 _CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinx(float, unsigned int, int);
65 _CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinh(float, float);
66 
67 _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FExp(float *, float, short);
68 extern _CRTIMP2_PURE /* const */ _Dconst _FDenorm, _FInf, _FNan, _FSnan;
69 
70  /* long double DECLARATIONS */
71 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LCosh(long double, long double);
72 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LDivide(long double, long double);
73 _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LDtest(long double *);
74 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LLog(long double, int);
75 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LRecip(long double);
76 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSin(long double, unsigned int);
77 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinx(long double, unsigned int, int);
78 _CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinh(long double, long double);
79 
80 _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LExp(long double *, long double, short);
81 extern _CRTIMP2_PURE /* const */ _Dconst _LDenorm, _LInf, _LNan, _LSnan;
82 
83  #if !defined(MRTDLL) || !defined(_CRTBLD)
84  #ifndef _M_CEE_PURE
86  #endif /* _M_CEE_PURE */
87  #endif /* !MRTDLL || !_CRTBLD */
88 
89  #pragma pop_macro("new")
90  #pragma warning(pop)
91  #pragma pack(pop)
93 #endif /* RC_INVOKED */
94 #endif /* _YMATH */
95 
96 /*
97  * Copyright (c) 1992-2012 by P.J. Plauger. ALL RIGHTS RESERVED.
98  * Consult your license regarding permissions and restrictions.
99 V6.00:0009 */
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FRecip(float)
#define _C_STD_BEGIN
Definition: yvals.h:557
_CRTIMP2_PURE _Dconst _Nan
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSin(long double, unsigned int)
long double _Long_double
Definition: ymath.h:40
Definition: ymath.h:35
_CRTIMP2_PURE _Dconst _Inf
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FDivide(float, float)
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinh(float, float)
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinx(double, unsigned int, int)
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSin(float, unsigned int)
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Recip(double)
_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 _C_STD_END
Definition: yvals.h:558
_CRTIMP2_PURE _Dconst _Snan
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FLog(float, int)
_CRTIMP2_PURE _Dconst _FDenorm
_CRTIMP2_PURE _Dconst _LSnan
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LRecip(long double)
_CRTIMP2_PURE _Dconst _LNan
_CRTIMP2_PURE _Dconst _LDenorm
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LDtest(long double *)
_CRTIMP2_PURE _Dconst _LInf
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LLog(long double, int)
_CRTIMP2_PURE _Dconst _FInf
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinx(float, unsigned int, int)
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Log(double, int)
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FDtest(float *)
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinx(long double, unsigned int, int)
_CRTIMP2_PURE _Dconst _Hugeval
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Divide(double, double)
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FExp(float *, float, short)
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LDivide(long double, long double)
_CRTIMP2_PURE _Dconst _FSnan
double _Double
Definition: ymath.h:39
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FCosh(float, float)
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sin(double, unsigned int)
#define __CLRCALL_PURE_OR_CDECL
Definition: yvals.h:79
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Dtest(double *)
void __CLRCALL_PURE_OR_CDECL _Feraise(int)
_CRTIMP2_PURE _Dconst _FNan
#define _END_C_LIB_DECL
Definition: yvals.h:562
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Cosh(double, double)
_CRTIMP2_PURE _Dconst _Denorm
#define _C_LIB_DECL
Definition: yvals.h:561
float _Float
Definition: ymath.h:38
#define _CRTIMP2_PURE
Definition: yvals.h:483
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinh(long double, long double)
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinh(double, double)