ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

xmath.h
Go to the documentation of this file.
00001 
00006 #ifndef _XMATH
00007 #define _XMATH
00008 #include <errno.h>
00009 #include <math.h>
00010 #include <stddef.h>
00011 #include <ymath.h>
00012 
00013 _C_STD_BEGIN
00014 
00015 #define _DBIAS 0x3fe
00016 #define _DOFF 4
00017 #define _FBIAS 0x7e
00018 #define _FOFF 7
00019 #define _FRND 1
00020 
00021 #define _D0 3
00022 #define _D1 2
00023 #define _D2 1
00024 #define _D3 0
00025 #define _DLONG 0
00026 #define _LBIAS 0x3fe
00027 #define _LOFF 4
00028 
00029 #define _DFRAC ((unsigned short)((1 << _DOFF) - 1))
00030 #define _DMASK ((unsigned short)(0x7fff & ~_DFRAC))
00031 #define _DMAX ((unsigned short)((1 << (15 - _DOFF)) - 1))
00032 #define _DSIGN ((unsigned short)0x8000)
00033 #define DSIGN(x) (((unsigned short *)&(x))[_D0] & _DSIGN)
00034 #define HUGE_EXP (int)(_DMAX *900L / 1000)
00035 #define HUGE_RAD 2.73e9
00036 #define SAFE_EXP ((unsigned short)(_DMAX >> 1))
00037 
00038 #define _FFRAC ((unsigned short)((1 << _FOFF) - 1))
00039 #define _FMASK ((unsigned short)(0x7fff & ~_FFRAC))
00040 #define _FMAX ((unsigned short)((1 << (15 - _FOFF)) - 1))
00041 #define _FSIGN ((unsigned short)0x8000)
00042 #define FSIGN(x) (((unsigned short *)&(x))[_F0] & _FSIGN)
00043 #define FHUGE_EXP (int)(_FMAX *900L / 1000)
00044 #define FHUGE_RAD 31.8
00045 #define FSAFE_EXP ((unsigned short)(_FMAX >> 1))
00046 
00047 #define _F0 1
00048 #define _F1 0
00049 
00050 #define _LFRAC ((unsigned short)(-1))
00051 #define _LMASK ((unsigned short)0x7fff)
00052 #define _LMAX ((unsigned short)0x7fff)
00053 #define _LSIGN ((unsigned short)0x8000)
00054 #define LSIGN(x) (((unsigned short *)&(x))[_L0] & _LSIGN)
00055 #define LHUGE_EXP (int)(_LMAX *900L / 1000)
00056 #define LHUGE_RAD 2.73e9
00057 #define LSAFE_EXP ((unsigned short)(_LMAX >> 1))
00058 
00059 #define _L0 3
00060 #define _L1 2
00061 #define _L2 1
00062 #define _L3 0
00063 #define _L4 xxx
00064 
00065 #define FINITE _FINITE
00066 #define INF _INFCODE
00067 #define NAN _NANCODE
00068 
00069 #define FL_ERR 0
00070 #define FL_DEC 1
00071 #define FL_HEX 2
00072 #define FL_INF 3
00073 #define FL_NAN 4
00074 #define FL_NEG 8
00075 
00076 _C_LIB_DECL
00077 
00078 _CRTIMP int __cdecl _Stopfx(const char **,char **);
00079 _CRTIMP int __cdecl _Stoflt(const char *,const char *,char **,long[],int);
00080 _CRTIMP int __cdecl _Stoxflt(const char *,const char *,char **,long[],int);
00081 _CRTIMP int __cdecl _WStopfx(const wchar_t **,wchar_t **);
00082 _CRTIMP int __cdecl _WStoflt(const wchar_t *,const wchar_t *,wchar_t **,long[],int);
00083 _CRTIMP int __cdecl _WStoxflt(const wchar_t *,const wchar_t *,wchar_t **,long[],int);
00084 _CRTIMP short __cdecl _Dnorm(unsigned short *);
00085 _CRTIMP short __cdecl _Dscale(double *,long);
00086 _CRTIMP short __cdecl _Dunscale(short *,double *);
00087 _CRTIMP double __cdecl _Poly(double,const double *,int);
00088 
00089 extern _CRTIMP _Dconst _Eps,_Rteps;
00090 extern _CRTIMP double _Xbig;
00091 
00092 _CRTIMP short __cdecl _FDnorm(unsigned short *);
00093 _CRTIMP short __cdecl _FDscale(float *,long);
00094 _CRTIMP short __cdecl _FDunscale(short *,float *);
00095 
00096 extern _CRTIMP _Dconst _FEps,_FRteps;
00097 extern _CRTIMP float _FXbig;
00098 
00099 _CRTIMP short __cdecl _LDnorm(unsigned short *);
00100 _CRTIMP short __cdecl _LDscale(long double *,long);
00101 _CRTIMP short __cdecl _LDunscale(short *,long double *);
00102 _CRTIMP long double __cdecl _LPoly(long double,const long double *,int);
00103 
00104 extern _CRTIMP _Dconst _LEps,_LRteps;
00105 extern _CRTIMP long double _LXbig;
00106 _END_C_LIB_DECL
00107 _C_STD_END
00108 #endif

Generated on Wed May 23 2012 04:27:56 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.