This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSL on Hitachi SR8000


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");


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]