view src/gsl-test.c @ 3738:2609ed5b5d76

sqlite: update to 3.8.7.2 * src/sqlite.mk: update version, checksum
author John Donoghue
date Wed, 19 Nov 2014 13:56:02 -0500
parents 14b3f5ea78ae
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See 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;
}