Commit 953199cb authored by Patrick Jaap's avatar Patrick Jaap

Add "isnormal" to adouble type

parent a8d5cb9d
......@@ -102,6 +102,10 @@ namespace std
return std::isfinite(a.value());
bool isnormal(adouble a) {
return std::isnormal(a.value());
/** \brief Specialization of the numeric_limits class for adouble */
template <>
struct numeric_limits<adouble> {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment