Changeset 835 for cpp/common
- Timestamp:
- 12/05/18 21:02:00 (6 years ago)
- Location:
- cpp/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/nonstd_math.cpp
r492 r835 13 13 14 14 15 16 #if (defined __BORLANDC__ || (_MSC_VER <= 1700)) & (!defined EMSCRIPTEN)17 double round(double val) //http://stackoverflow.com/questions/2170385/c-math-functions18 {19 return floor(val + 0.5);20 }21 #endif22 15 23 16 -
cpp/common/nonstd_math.h
r665 r835 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-201 5Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2018 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 17 17 #endif 18 18 19 #if (defined __BORLANDC__ || (_MSC_VER <= 1700)) & (!defined EMSCRIPTEN)20 double round(double val); //http://stackoverflow.com/questions/2170385/c-math-functions21 #endif22 19 23 20 … … 70 67 71 68 #endif 69
Note: See TracChangeset
for help on using the changeset viewer.