GSL on Hitachi SR8000

Brian Gough bjg@network-theory.co.uk
Mon Aug 26 06:23:00 GMT 2002


Maybe there's a discrepancy with the output from the %g format.  Try
this patch on the test programs to use %e instead:

Index: test.c
===================================================================
RCS file: /cvs/gsl/gsl/histogram/test.c,v
retrieving revision 1.22
diff -r1.22 test.c
422c422
<     gsl_histogram_fprintf (f, h, "%.19g", "%.19g");
---
>     gsl_histogram_fprintf (f, h, "%.19e", "%.19e");
Index: test2d.c
===================================================================
RCS file: /cvs/gsl/gsl/histogram/test2d.c,v
retrieving revision 1.23
diff -r1.23 test2d.c
653c653
<     gsl_histogram2d_fprintf (f, h, "%.19g", "%.19g");
---
>     gsl_histogram2d_fprintf (f, h, "%.19e", "%.19e");



More information about the Gsl-discuss mailing list