1#ifndef STAN_MATH_FWD_FUN_FABS_HPP
2#define STAN_MATH_FWD_FUN_FABS_HPP
20 }
else if (x.
val_ > 0.0) {
22 }
else if (x.
val_ < 0.0) {
static constexpr double NOT_A_NUMBER
(Quiet) not-a-number value.
bool is_nan(T &&x)
Returns 1 if the input's value is NaN and 0 otherwise.
T value_of(const fvar< T > &v)
Return the value of the specified variable.
fvar< T > fabs(const fvar< T > &x)
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,...