mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +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:
parent
c4375a16a5
commit
590268d3d8
6 changed files with 5 additions and 1 deletions
0
reactos/include/c++/fstream
Normal file
0
reactos/include/c++/fstream
Normal file
0
reactos/include/c++/ios
Normal file
0
reactos/include/c++/ios
Normal file
0
reactos/include/c++/iostream
Normal file
0
reactos/include/c++/iostream
Normal file
0
reactos/include/c++/istream
Normal file
0
reactos/include/c++/istream
Normal 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;
|
||||
|
|
0
reactos/include/c++/sstream
Normal file
0
reactos/include/c++/sstream
Normal file
Loading…
Reference in a new issue