Changeset 227 for cpp/common/nonstd_math.cpp
- Timestamp:
- 04/20/14 01:48:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/nonstd_math.cpp
r226 r227 24 24 25 25 26 #if defined LINUX || defined TIZEN || defined __ANDROID__ 26 #if defined LINUX || defined TIZEN || defined __ANDROID__ || defined IPHONE 27 27 28 28 #include <fenv.h> … … 44 44 #endif 45 45 46 47 #ifdef IPHONE48 49 #include <fenv.h>50 51 void fpExceptInit()52 {}53 54 void fpExceptEnable()55 {56 feclearexcept(FE_DIVBYZERO | FE_OVERFLOW);57 //feenableexcept(FE_DIVBYZERO | FE_OVERFLOW);58 }59 60 void fpExceptDisable()61 {62 //fedisableexcept(FE_DIVBYZERO | FE_OVERFLOW);63 }64 #endif65 46 66 47
Note: See TracChangeset
for help on using the changeset viewer.