1 #ifndef STAN_MATH_PRIM_SCAL_FUN_LOG2_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_LOG2_HPP
5 #include <boost/math/tools/promotion.hpp>
24 inline typename boost::math::tools::promote_args<T>::type
38 inline double log2(
int x) {
39 return log2(static_cast<double>(x));
const double LOG_2
The natural logarithm of 2, .
fvar< T > log(const fvar< T > &x)
fvar< T > log2(const fvar< T > &x)