mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 19:25:36 +00:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user