This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: GSL 0.9 Fails in test with VC++ 6.0
- To: Brian Gough <bjg at network-theory dot co dot uk>
- Subject: Re: GSL 0.9 Fails in test with VC++ 6.0
- From: Jose Miguel Buenaposada Biencinto <jmbuena at dia dot fi dot upm dot es>
- Date: Mon, 30 Jul 2001 19:51:18 +0200
- Cc: gsl-discuss at sources dot redhat dot com
- Organization: DIA-UPM
- References: <3B618FE9.CCDA3EDB@dia.fi.upm.es> <15205.37146.906790.175017@debian>
Brian Gough wrote:
> Jose Miguel Buenaposada Biencinto writes:
> > Here we are trying to build a functional library of GSL 0.9 with
> > Visual C++ 6.0.
> > When we build it in debug configuration there is no errors at all
> > in the test cases, but when we build the release versions of the
> > libraries and the test programs we get 28 failures (See below). It
> > seems to be related with the optimisation flags ("maximizate speed"
> > choosen, /O2 flag) because if we build all, in the release
> > configuration, but changing the optimization to "default" then we
> > get 0 errors.
>
> I have checked in for the first two problems (integration and
> multifit).
>
> Could you try the following patch and let me know if it works for the
> specfunc tests. Thanks.
Yes, I'll make a try and see if that works ... of course I can try to solve the other
problem with isNan and isInf when using optimisation and MSVC++ 6.0. The
problem is that I'm going to stay for three months out there and I don't know
if I'm goint to have access to MSVC++ 6.0 with optimisations ...
Regards.
>
>
> Index: test_legendre.c
> ===================================================================
> RCS file: /cvs/gsl/gsl/specfunc/test_legendre.c,v
> retrieving revision 1.18
> diff -u -r1.18 test_legendre.c
> --- test_legendre.c 2001/07/12 14:26:32 1.18
> +++ test_legendre.c 2001/07/30 16:51:45
> @@ -96,7 +96,7 @@
> TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, -0.5, &r), -6.617107444248382171e+08, TEST_TOL0, GSL_SUCCESS);
> TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, 1.0e-08, &r), 817.8987598063712851, TEST_TOL0, GSL_SUCCESS);
> TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, 0.5, &r), 6.617107444248382171e+08, TEST_TOL0, GSL_SUCCESS);
> - TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, 0.999, &r), -1.9831610803806212189e+09, TEST_TOL1, GSL_SUCCESS);
> + TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, 0.999, &r), -1.9831610803806212189e+09, TEST_TOL2, GSL_SUCCESS);
>
> sa = 0;
> gsl_sf_legendre_Plm_array(100, 5, 0.5, L);
> @@ -108,7 +108,7 @@
>
> TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 0, -0.5, &r), -0.24332702369300133776, TEST_TOL0, GSL_SUCCESS);
> TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 0, 0.5, &r), -0.24332702369300133776, TEST_TOL0, GSL_SUCCESS);
> - TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 0, 0.999, &r), 1.2225754122797385990, TEST_TOL0, GSL_SUCCESS);
> + TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 0, 0.999, &r), 1.2225754122797385990, TEST_TOL1, GSL_SUCCESS);
>
> TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 5, -0.5, &r), -0.3725739049803293972, TEST_TOL0, GSL_SUCCESS);
> TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 5, 1.0e-08, &r), -3.1377233589376792243e-08, TEST_TOL0, GSL_SUCCESS);
--
-------------------------------------------------------------------
Jose Miguel Buenaposada Biencinto
Facultad de Informática | Computer Science School
Universidad Politécnica de Madrid (UPM) | Madrid Tech. University.
Campus de Montegancedo s/n
28660 Boadilla del Monte, Madrid (ESPAÑA)| (SPAIN)
Voice +34 91 336 69 47
Fax +34 91 352 48 19
e-mail: jmbuena@dia.fi.upm.es
web : http://www.dia.fi.upm.es/~jmbuena
-------------------------------------------------------------------
Yo soy Precario FPU, ¿ y tu ?: http://www.precarios.org