Changeset 1005 for cpp/frams/util


Ignore:
Timestamp:
07/14/20 15:54:43 (4 years ago)
Author:
Maciej Komosinski
Message:

Higher conformance with C++17, but gave up after missing M_PI, M_PI_2, strdup() and more; other cosmetic improvements

File:
1 edited

Legend:

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

    r973 r1005  
    705705                fpExceptDisable();
    706706                double tmp = getDouble() / a;
    707                 if (!finite(tmp))
     707                if (!std::isfinite(tmp))
    708708                {
    709709                        logPrintf("ExtValue", "divide", LOG_ERROR, "Overflow %s/%g", getString().c_str(), a); setInvalid();
Note: See TracChangeset for help on using the changeset viewer.