mxe/src/gsl-test.c

19 lines
337 B
C
Raw Normal View History

2012-03-28 14:46:58 +01:00
/* This file is part of MXE. */
2011-07-10 05:19:01 +01:00
/* See doc/index.html for further information. */
#include <stdio.h>
#include <gsl/gsl_sf_bessel.h>
int main(int argc, char *argv[])
{
double x, y;
(void)argc;
(void)argv;
x = 5.0;
y = gsl_sf_bessel_J0 (x);
printf ("J0(%g) = %.18e\n", x, y);
return 0;
}