1#ifndef STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_LOG_DIFF_EXP_HPP 
    2#define STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_LOG_DIFF_EXP_HPP 
   10namespace opencl_kernels {
 
   13static constexpr const char* log_diff_exp_device_function
 
   15      "#ifndef STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_LOG_DIFF_EXP\n" 
   17      "STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_LOG_DIFF_EXP\n" STRINGIFY(
 
   31              return (x < INFINITY && x == y) ? -INFINITY : NAN;
 
double log1m_exp(double a)
Calculates the natural logarithm of one minus the exponential of the specified value without overflow...
 
double log_diff_exp(double x, double y)
The natural logarithm of the difference of the natural exponentiation of x and the natural exponentia...
 
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...