IMP logo
IMP Reference Guide  develop.d4e9f3251e,2024/04/26
The Integrative Modeling Platform
math.h File Reference

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>
+ Include dependency graph for math.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Helper functions to check for NaN or infinity.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file math.h.