SHA256
1
0
forked from pool/gsl
OBS User unknown 2007-03-15 00:38:58 +00:00 committed by Git OBS Bridge
parent f9a966466b
commit c072a98884
7 changed files with 124 additions and 86 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:961569011f404f2d7e9fac920333917c8a0d5e33c297f8def13648898c4862f0
size 1870063

3
gsl-1.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2cfba205944a4b3dd1d36f9f8dec78d35d2caed192301537ea0537128759bb7
size 1977654

View File

@ -1,15 +0,0 @@
Index: eigen/test.c
===================================================================
--- eigen/test.c.orig
+++ eigen/test.c
@@ -144,9 +144,9 @@ test_eigenvalues (size_t N, const gsl_ve
for (i = 0; i < N; i++)
{
double ei = gsl_vector_get (eval, i);
double e2i = gsl_vector_get (eval2, i);
- gsl_test_rel(ei, e2i, 10*GSL_DBL_EPSILON,
+ gsl_test_rel(ei, e2i, 20*GSL_DBL_EPSILON,
"%s, direct eigenvalue(%d), %s",
desc, i, desc2);
}
}

View File

@ -1,3 +1,63 @@
-------------------------------------------------------------------
Tue Mar 13 09:16:30 CET 2007 - garloff@suse.de
- Update to gsl-1.9:
* Fixed the elliptic integrals F,E,P,D so that they have the
correct behavior for phi > pi/2 and phi < 0.
* New BFGS minimisation method gsl_multimin_fdfminimizer_vector_bfgs2
based on the algorithm given by R.Fletcher in "Practical Methods
of Optimisation" (2nd ed).
* Beta functions gsl_sf_beta_e(a,b) and gsl_sf_lnbeta_e(a,b) now
handle negative arguments a,b. New function gsl_sf_lnbeta_sgn_e
for computing magnitude and sign of negative beta values.
* gsl_cheb_eval_mode now uses the same error estimate as
gsl_cheb_eval_err.
* Improved gsl_sf_legendre_sphPlm_e to avoid underflow with large
arguments.
* Added updated Knuth generator, gsl_rng_knuthran2002, from 9th
printing of "The Art of Computer Programming". See
http://www-cs-faculty.stanford.edu/~knuth/news02.htm
* The functions gsl_multifit_fsolver_set, gsl_multifit_fdfsolver_set
and gsl_multiroot_fsolver_set, gsl_multiroot_fdfsolver_set now
have a const qualifier for the input vector x.
* gsl_sf_expint_E2(x) now returns the correct value 1 for x==0,
instead of NaN.
* The gsl_ran_gamma function now uses the Marsaglia-Tsang fast gamma
method of gsl_ran_gamma_mt by default.
* The matrix and vector min/max functions now always propagate any
NaNs in their input.
* Prevented NaN occuring for extreme parameters in
gsl_cdf_fdist_{P,Q}inv and gsl_cdf_beta_{P,Q}inv
* Corrected error estimates for the angular reduction functions
gsl_sf_angle_restrict_symm_err and gsl_sf_angle_restrict_pos_err.
* Corrected an error in the higher digits of M_PI_4 (this was beyond
the limit of double precision, so double precision results are not
affected).
* gsl_root_test_delta now always returns success if two iterates are
the same, x1==x0.
* A Japanese translation of the reference manual is now available
from the GSL webpage at http://www.gnu.org/software/gsl/ thanks to
Daisuke TOMINAGA.
* Added new functions for basis splines, see the "Basis Splines"
chapter in the GSL Reference Manual for details.
* Added new functions for testing the sign of vectors and matrices,
gsl_vector_ispos, gsl_vector_isneg, gsl_matrix_ispos and
gsl_matrix_isneg.
* Fixed a bug in gsl_sf_lnpoch_e and gsl_sf_lnpoch_sgn_e which caused
the incorrect value 1.0 instead of 0.0 to be returned for x==0.
* Fixed cancellation error in gsl_sf_laguerre_n for n > 1e7 so that
larger arguments can be calculated without loss of precision.
* Improved gsl_sf_zeta_e to return exactly zero for negative even
integers, avoiding less accurate trigonometric reduction.
* Fixed a bug in gsl_sf_zetam1_int_e where 0 was returned instead of
-1 for negative even integer arguments.
* When the differential equation solver gsl_odeiv_apply encounters a
singularity it returns the step-size which caused the error code from
the user-defined function, as opposed to leaving the step-size
unchanged.
* Added support for nonsymmetric eigensystems
* Added Mathieu functions
-------------------------------------------------------------------
Wed Feb 7 14:05:18 CET 2007 - garloff@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package gsl (Version 1.8)
# spec file for package gsl (Version 1.9)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -12,8 +12,8 @@
Name: gsl
BuildRequires: blas latex2html
Version: 1.8
Release: 27
Version: 1.9
Release: 1
License: GNU General Public License (GPL)
Group: Development/Libraries/C and C++
#Provides:
@ -22,9 +22,6 @@ Summary: GNU Scientific Library
Source: ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.bz2
Patch: gsl-1.6-initvars.diff
Patch3: gsl-1.6-deps.dif
Patch4: gsl-check-prec.diff
Patch5: log1p-no-fast-math.diff
Patch6: ieee-div-by-zero
URL: http://sources.redhat.com/gsl/
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -107,9 +104,6 @@ Authors:
%setup
%patch -p1
%patch3 -p0
%patch4 -p0
#%patch5 -p1
#%patch6 -p1
%build
%ifarch i386 i486 i586 i686 x86_64
@ -162,7 +156,64 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/gsl-%{version}
%changelog -n gsl
%changelog
* Tue Mar 13 2007 - garloff@suse.de
- Update to gsl-1.9:
* Fixed the elliptic integrals F,E,P,D so that they have the
correct behavior for phi > pi/2 and phi < 0.
* New BFGS minimisation method gsl_multimin_fdfminimizer_vector_bfgs2
based on the algorithm given by R.Fletcher in "Practical Methods
of Optimisation" (2nd ed).
* Beta functions gsl_sf_beta_e(a,b) and gsl_sf_lnbeta_e(a,b) now
handle negative arguments a,b. New function gsl_sf_lnbeta_sgn_e
for computing magnitude and sign of negative beta values.
* gsl_cheb_eval_mode now uses the same error estimate as
gsl_cheb_eval_err.
* Improved gsl_sf_legendre_sphPlm_e to avoid underflow with large
arguments.
* Added updated Knuth generator, gsl_rng_knuthran2002, from 9th
printing of "The Art of Computer Programming". See
http://www-cs-faculty.stanford.edu/~knuth/news02.htm
* The functions gsl_multifit_fsolver_set, gsl_multifit_fdfsolver_set
and gsl_multiroot_fsolver_set, gsl_multiroot_fdfsolver_set now
have a const qualifier for the input vector x.
* gsl_sf_expint_E2(x) now returns the correct value 1 for x==0,
instead of NaN.
* The gsl_ran_gamma function now uses the Marsaglia-Tsang fast gamma
method of gsl_ran_gamma_mt by default.
* The matrix and vector min/max functions now always propagate any
NaNs in their input.
* Prevented NaN occuring for extreme parameters in
gsl_cdf_fdist_{P,Q}inv and gsl_cdf_beta_{P,Q}inv
* Corrected error estimates for the angular reduction functions
gsl_sf_angle_restrict_symm_err and gsl_sf_angle_restrict_pos_err.
* Corrected an error in the higher digits of M_PI_4 (this was beyond
the limit of double precision, so double precision results are not
affected).
* gsl_root_test_delta now always returns success if two iterates are
the same, x1==x0.
* A Japanese translation of the reference manual is now available
from the GSL webpage at http://www.gnu.org/software/gsl/ thanks to
Daisuke TOMINAGA.
* Added new functions for basis splines, see the "Basis Splines"
chapter in the GSL Reference Manual for details.
* Added new functions for testing the sign of vectors and matrices,
gsl_vector_ispos, gsl_vector_isneg, gsl_matrix_ispos and
gsl_matrix_isneg.
* Fixed a bug in gsl_sf_lnpoch_e and gsl_sf_lnpoch_sgn_e which caused
the incorrect value 1.0 instead of 0.0 to be returned for x==0.
* Fixed cancellation error in gsl_sf_laguerre_n for n > 1e7 so that
larger arguments can be calculated without loss of precision.
* Improved gsl_sf_zeta_e to return exactly zero for negative even
integers, avoiding less accurate trigonometric reduction.
* Fixed a bug in gsl_sf_zetam1_int_e where 0 was returned instead of
-1 for negative even integer arguments.
* When the differential equation solver gsl_odeiv_apply encounters a
singularity it returns the step-size which caused the error code from
the user-defined function, as opposed to leaving the step-size
unchanged.
* Added support for nonsymmetric eigensystems
* Added Mathieu functions
* Wed Feb 07 2007 - garloff@suse.de
- -l2h and BuildRequire latex2html for formulas in manual (#242160).
* Fri Nov 24 2006 - garloff@suse.de

View File

@ -1,29 +0,0 @@
Index: gsl-1.8/ieee-utils/Makefile.in
===================================================================
--- gsl-1.8.orig/ieee-utils/Makefile.in
+++ gsl-1.8/ieee-utils/Makefile.in
@@ -60,12 +60,12 @@ test_DEPENDENCIES = libgslieeeutils.la .
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp =
am__depfiles_maybe =
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_$@)
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
- $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_$@)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(libgslieeeutils_la_SOURCES) $(test_SOURCES)
@@ -90,8 +90,9 @@ AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CFLAGS = @CFLAGS@
+CFLAGS_test.o = -fno-fast-math
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@

View File

@ -1,29 +0,0 @@
Index: gsl-1.8/sys/Makefile.in
===================================================================
--- gsl-1.8.orig/sys/Makefile.in
+++ gsl-1.8/sys/Makefile.in
@@ -62,12 +62,12 @@ test_DEPENDENCIES = libgslsys.la ../ieee
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp =
am__depfiles_maybe =
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_$@)
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
- $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_$@)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(libgslsys_la_SOURCES) $(test_SOURCES)
@@ -92,8 +92,9 @@ AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CFLAGS = @CFLAGS@
+CFLAGS_log1p.lo = -fno-fast-math
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@