[INCLUDE/C++]

- Add fake iostream headers to fix MSVC compilation
- hack numerical_limits<float>::infinity() implementation until we have a real C++ library
Oddly, empty headers seem to be enough for now

svn path=/trunk/; revision=57136
This commit is contained in:
Jérôme Gardou 2012-08-22 18:42:57 +00:00
parent c4375a16a5
commit 590268d3d8
6 changed files with 5 additions and 1 deletions

View file

0
reactos/include/c++/ios Normal file
View file

View file

View file

View file

@ -938,7 +938,11 @@ namespace std
// infinity
static const bool has_infinity = true;
static float infinity( ) throw( )
{return _FInf._Float;}
//{return _FInf._Float;}
{
static const unsigned __inf_bytes = 0x7f800000;
return *(float*)&__inf_bytes;
}
// Denormalization
static const float_denorm_style has_denorm = denorm_present;

View file