1 #ifndef STAN_MATH_PRIM_SCAL_FUN_LOG_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_LOG_HPP
16 inline double log(
int x) {
17 return std::log(static_cast<double>(x));
fvar< T > log(const fvar< T > &x)
var log(const var &a)
Return the natural log of the specified variable (cmath).