- Timestamp:
- 02/14/16 03:40:21 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/nonstd_math.cpp
r375 r471 57 57 void fpExceptEnable() 58 58 { 59 feclearexcept(FE_DIVBYZERO | FE_OVERFLOW);60 feenableexcept(FE_DIVBYZERO | FE_OVERFLOW);59 feclearexcept(FE_DIVBYZERO); 60 feenableexcept(FE_DIVBYZERO); 61 61 } 62 62 63 63 void fpExceptDisable() 64 64 { 65 fedisableexcept(FE_DIVBYZERO | FE_OVERFLOW);65 fedisableexcept(FE_DIVBYZERO); 66 66 } 67 67
Note: See TracChangeset
for help on using the changeset viewer.