• Patrick Snape's avatar
    Use std::numeric_limits<float>::quiet_NaN() · 2b766bf0
    Patrick Snape authored
    NAN is a compiler specific constant that does not exist on
    visual studio. I also noticed that some NAN instances had been
    cast to float, whereas quiet_NaN is both 1) defined by the
    standard and 2) templated for the correct type. This is a much
    more portable method of getting a NaN value.
    2b766bf0
Name
Last commit
Last update
..
doc Loading commit data...
include/opencv2 Loading commit data...
samples Loading commit data...
src Loading commit data...
CMakeLists.txt Loading commit data...
README.md Loading commit data...