• 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/tutorials Loading commit data...
modules Loading commit data...
samples/python2 Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
README.md Loading commit data...