Ignore:
Timestamp:
11/08/14 16:57:21 (9 years ago)
Author:
Maciej Komosinski
Message:

Compiles under VS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_math.h

    r197 r251  
    1111 #include <math.h> //w vc2008 dzia³a³o tu <cmath>, ale w vc2010 juz nie bo "coœ" (jakiœ inny .h stl'a?) includuje wczeœniej <cmath> bez _USE_MATH_DEFINES, a <cmath> includuje <math.h> (ale tylko raz bo ma "include guards" jak kazdy .h)
    1212 #include <float.h>
    13  #define isnan(x) _isnan(x)
     13 //#define isnan(x) _isnan(x) //since 2014 we use std::isnan()
    1414 #define finite(x) _finite(x)
    1515#else //m.in. __BORLANDC__
Note: See TracChangeset for help on using the changeset viewer.