mxe/src/gsl-test.c

21 lines
315 B
C
Raw Normal View History

/*
* This file is part of MXE.
2012-03-29 11:14:15 +01:00
* See index.html for further information.
*/
2011-07-10 05:19:01 +01:00
#include <stdio.h>
#include <gsl/gsl_sf_bessel.h>
int main(int argc, char *argv[])
2011-07-10 05:19:01 +01:00
{
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;
}