- Timestamp:
- 09/09/23 15:16:31 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/extvalue.cpp
r1076 r1275 703 703 else 704 704 { 705 fpExcept Disable();705 fpExcept::disable(); 706 706 double tmp = getDouble() / a; 707 707 if (!std::isfinite(tmp)) … … 714 714 //if (isnan(ddata())) //http://www.digitalmars.com/d/archives/c++/Traping_divide_by_zero_5728.html 715 715 // { logPrintf("ExtValue","divide",LOG_ERROR,"not-a-number",(const char*)getString()); setInvalid(); } 716 fpExcept Enable();716 fpExcept::enable(); 717 717 } 718 718 }
Note: See TracChangeset
for help on using the changeset viewer.