view src/gsl-test.c @ 6177:4ba9eb3f70c9 release

* installer-files/cmdshell.bat, installer-files/octave-firsttime.vbs, installer-files/octave-launch.c, installer-files/octave.bat, installer-files/octave.vbs: add pkg config path env
author John Donoghue <john.donoghue@ieee.org>
date Tue, 19 Apr 2022 09:26:38 -0400
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;
}