Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ signbit()

template<typename ADType , require_autodiff_t< ADType > * = nullptr>
bool stan::math::signbit ( ADType &&  v)
inline

Return true if the specified argument is negative and false otherwise.

Overloads std::signbit from <cmath> for argument-dependent lookup.

Template Parameters
ADTypetype of argument
Parameters
[in]vargument
Returns
true if the argument is negative

Definition at line 21 of file signbit.hpp.