[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] Re: more info on vector check failure on solaris
From: |
Britton Kerin |
Subject: |
[Bug-gsl] Re: more info on vector check failure on solaris |
Date: |
Thu, 15 Jan 2004 16:40:26 -0900 (AKST) |
I rebuild with gcc 3.3.2 (the latest stable) as you advised and now all
the tests pass. Thanks for your help with this.
Britton
On Sat, 10 Jan 2004, Brian Gough wrote:
> Britton Kerin writes:
> > ", z: " OUT_FORMAT "\nfabs(r - z): %d\n"
> > "2 * GSL_FLT_EPSILON * fabs(z): %d\n", r, x, y, z,
> > fabs(r - z), 2 * GSL_FLT_EPSILON * fabs(z));
>
> Hello,
>
> %d is an integer format, you need to use a floating point format in
> the output, e.g. %.18e
>
> > r: 1, x: 3, y: 3, z: 1
> > fabs(r - z): 1072693248 <<<< should use floating point format
> > 2 * GSL_FLT_EPSILON * fabs(z): 0 <<<< should use floating point format
>
> Thanks,
>
>