Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6885dcc88a
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (13 sloc) 0.277 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <cassert>
#include <cmath>

#ifdef VSMC_USE_STD_LGAMMA
using std::lgamma;
#elif defined(VSMC_USE_BOOST_LGAMMA)
#include <boost/math/special_functions/gamma.hpp>
using boost::math::lgamma;
#endif

int main ()
{
    assert(std::abs(lgamma(2)) < 1e-10);

    return 0;
}
Something went wrong with that request. Please try again.