summaryrefslogtreecommitdiff
path: root/boost/libs/math/reporting/accuracy/has_rmath.cpp
blob: df6cb315aecaa5ec0b24e4f43879580e92139da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//  Copyright John Maddock 2015.
//  Use, modification and distribution are subject to the
//  Boost Software License, Version 1.0. (See accompanying file
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#define MATHLIB_STANDALONE
#include <Rmath.h>

int main()
{
   double d = psigamma(2.0, 4);
   return d != 0 ? 0 : 1;
}