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

◆ LOG_TWO_PI

constexpr double stan::math::LOG_TWO_PI = 2 * HALF_LOG_TWO_PI
staticconstexpr

The natural logarithm of \( 2\pi \), \( \log(2\pi) \).

Doubling HALF_LOG_TWO_PI is exact, whereas LOG_TWO + LOG_PI rounds one ulp low.

Definition at line 104 of file constants.hpp.