1 // Copyright John Maddock 2015. 2 // Use, modification and distribution are subject to the 3 // Boost Software License, Version 1.0. (See accompanying file 4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 6 #include <gsl/gsl_sf.h> 7 main()8int main() 9 { 10 double d = gsl_sf_bessel_Jn(2, 1.0); 11 return d != 0 ? 0 : 1; 12 } 13