1 #ifndef STAN_MATH_FWD_SCAL_FUN_ROUND_HPP 2 #define STAN_MATH_FWD_SCAL_FUN_ROUND_HPP 26 ? std::numeric_limits<double>::quiet_NaN()
fvar< T > round(const fvar< T > &x)
Return the closest integer to the specified argument, with halfway cases rounded away from zero...
T val_
The value of this variable.
int is_nan(const fvar< T > &x)
Returns 1 if the input's value is NaN and 0 otherwise.
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.