#include #include #include int main(void) { double x = 5.0; double y = gsl_sf_bessel_J0(x); printf("J0(%g) = %.18f\n", x, y); // or using iomanip: //cout<