1 # ifndef CPPAD_UTILITY_NAN_HPP
2 # define CPPAD_UTILITY_NAN_HPP
168 template <
class Scalar>
173 template <
class Vector>
186 template <
class Scalar>
187 inline Scalar
nan(
const Scalar &zero)
188 {
return zero / zero;
Scalar nan(const Scalar &zero)
Define the CppAD error checking macros (all of which begin with CPPAD_ASSERT_)
bool isnan(const Scalar &s)
bool hasnan(const Vector &v)
File used to define the CppAD multi-threading allocator class.