1 #ifndef __STAN__MATH__CONSTANTS_HPP__
2 #define __STAN__MATH__CONSTANTS_HPP__
4 #include <boost/math/constants/constants.hpp>
14 const double E = boost::math::constants::e<double>();
37 const double INFTY = std::numeric_limits<double>::infinity();
47 const double NOT_A_NUMBER = std::numeric_limits<double>::quiet_NaN();
var sqrt(const var &a)
Return the square root of the specified variable (cmath).
var log(const var &a)
Return the natural log of the specified variable (cmath).
double epsilon()
Return minimum positive number representable.
const double NEGATIVE_EPSILON
Largest negative value (i.e., smallest absolute value).
const double LOG_2
The natural logarithm of 2, .
const double SQRT_2
The value of the square root of 2, .
const double EPSILON
Smallest positive value.
const double E
The base of the natural logarithm, .
const double INFTY
Positive infinity.
const double NOT_A_NUMBER
(Quiet) not-a-number value.
const double NEGATIVE_INFTY
Negative infinity.
const double LOG_10
The natural logarithm of 10, .
Probability, optimization and sampling library.