1#ifndef STAN_MATH_PRIM_FUN_IS_ANY_NAN_HPP
2#define STAN_MATH_PRIM_FUN_IS_ANY_NAN_HPP
34template <
typename T,
typename... Ts>
bool is_nan(T &&x)
Returns 1 if the input's value is NaN and 0 otherwise.
bool is_any_nan(const T &x)
Returns true if the input is NaN and false otherwise.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...