1 #ifndef STAN__MATH__FUNCTIONS__IS_INF_HPP
2 #define STAN__MATH__FUNCTIONS__IS_INF_HPP
4 #include <boost/math/special_functions/fpclassify.hpp>
bool isinf(const stan::agrad::var &v)
Checks if the given number is infinite.
int is_inf(const double x)
Returns 1 if the input is infinite and 0 otherwise.