1#ifndef STAN_MATH_FWD_FUN_FMOD_HPP
2#define STAN_MATH_FWD_FUN_FMOD_HPP
static constexpr double NOT_A_NUMBER
(Quiet) not-a-number value.
T value_of(const fvar< T > &v)
Return the value of the specified variable.
fvar< T > fmod(const fvar< T > &x1, const fvar< T > &x2)
bool is_any_nan(const T &x)
Returns true if the input is NaN and false otherwise.
fvar< T > trunc(const fvar< T > &x)
Return the nearest integral value that is not larger in magnitude than the specified argument.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
Scalar d_
The tangent (derivative) of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...