Ignore:
Timestamp:
12/05/18 21:02:00 (13 months ago)
Author:
Maciej Komosinski
Message:

ISO C++17 compliance including NULL, nullptr, templates and pointer conversions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_math.cpp

    r492 r835  
    1313
    1414
    15 
    16 #if (defined __BORLANDC__ || (_MSC_VER <= 1700)) & (!defined EMSCRIPTEN)
    17 double round(double val) //http://stackoverflow.com/questions/2170385/c-math-functions
    18 {   
    19     return floor(val + 0.5);
    20 }
    21 #endif
    2215
    2316
Note: See TracChangeset for help on using the changeset viewer.