#ifndef PYTHONIC_INCLUDE_MATH_ISINF_HPP #define PYTHONIC_INCLUDE_MATH_ISINF_HPP #include "pythonic/include/utils/functor.hpp" #include PYTHONIC_NS_BEGIN namespace math { template bool isinf(T const &v) { return std::isinf(v); } DEFINE_FUNCTOR(pythonic::math, isinf); } PYTHONIC_NS_END #endif