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

◆ log1p() [5/7]

double stan::math::log1p ( int  x)
inline

Return the natural logarithm of one plus the specified argument.

This version is required to disambiguate log1p(int).

Parameters
[in]xArgument.
Returns
Natural logarithm of one plus the argument.
Exceptions
std::domain_errorIf argument is less than -1.

Definition at line 47 of file log1p.hpp.