IMP Reference Guide
2.20.0
The Integrative Modeling Platform
|
Helper functions to check for NaN or infinity. More...
#include <IMP/kernel_config.h>
#include <boost/version.hpp>
#include <cmath>
#include <boost/math/special_functions/fpclassify.hpp>
Go to the source code of this file.
Namespaces | |
IMP | |
Base functionality and abstract base classes for representation, scoring and sampling. | |
Functions | |
template<class T > | |
bool | IMP::isinf (const T &a) |
Return true if a number is infinite. More... | |
template<class T > | |
bool | IMP::isnan (const T &a) |
Return true if a number is NaN. More... | |