Changeset 1275 for cpp/frams


Ignore:
Timestamp:
09/09/23 15:16:31 (15 months ago)
Author:
Maciej Komosinski
Message:

More unification of floating point exception handling across platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/util/extvalue.cpp

    r1076 r1275  
    703703        else
    704704        {
    705                 fpExceptDisable();
     705                fpExcept::disable();
    706706                double tmp = getDouble() / a;
    707707                if (!std::isfinite(tmp))
     
    714714                //if (isnan(ddata())) //http://www.digitalmars.com/d/archives/c++/Traping_divide_by_zero_5728.html
    715715                //        { logPrintf("ExtValue","divide",LOG_ERROR,"not-a-number",(const char*)getString()); setInvalid(); }
    716                 fpExceptEnable();
     716                fpExcept::enable();
    717717        }
    718718}
Note: See TracChangeset for help on using the changeset viewer.