Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmath.h
Go to the documentation of this file.
00001 #ifndef __WINE_MATH_H_ 00002 #define __WINE_MATH_H_ 00003 00004 #include <crt/math.h> 00005 00006 #ifdef _MSC_VER 00007 __forceinline float _NaN() 00008 { 00009 unsigned long NaN = 0x7fc00000; 00010 return *(float*)&NaN; 00011 } 00012 #define NAN _NaN() 00013 00014 __forceinline float _Infinity() 00015 { 00016 unsigned long Infinity = 0x7f800000; 00017 return *(float*)&Infinity; 00018 } 00019 #define INFINITY _Infinity() 00020 00021 #else 00022 #define NAN (0.0f / 0.0f) 00023 #define INFINITY (1.0F/0.0F) 00024 #endif 00025 00026 #endif /* __WINE_MATH_H_ */ Generated on Sun May 27 2012 04:28:46 for ReactOS by
1.7.6.1
|