commit OpenOffice_org-ure for openSUSE:Factory
Hello community, here is the log from the commit of package OpenOffice_org-ure for openSUSE:Factory checked in at Fri Mar 20 21:12:30 CET 2009. -------- --- OpenOffice_org-ure/OpenOffice_org-ure.changes 2009-03-10 12:01:30.000000000 +0100 +++ OpenOffice_org-ure/OpenOffice_org-ure.changes 2009-03-20 16:10:33.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 20 16:09:23 CET 2009 - pmladek@suse.cz + +- updated to the milestone ooo310-m6 +- updated ooo-build to version 3.0.99.2 (3.1-beta2) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- ooo310-m4-ure.tar.bz2 New: ---- ooo310-m6-ure.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenOffice_org-ure.spec ++++++ --- /var/tmp/diff_new_pack.o30333/_old 2009-03-20 21:11:52.000000000 +0100 +++ /var/tmp/diff_new_pack.o30333/_new 2009-03-20 21:11:52.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package OpenOffice_org-ure (Version 3.0.99.1) +# spec file for package OpenOffice_org-ure (Version 3.0.99.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,16 +19,16 @@ Name: OpenOffice_org-ure -Version: 3.0.99.1 +Version: 3.0.99.2 Release: 1 -%define ooo_build_version 3.0.99.1 +%define ooo_build_version 3.0.99.2 %define piece ure #!BuildIgnore: OpenOffice_org BuildRequires: OpenOffice_org-bootstrap = %version BuildRequires: ImageMagick ant ant-apache-regexp bison boost-devel ccache cups-devel curl-devel db-devel flac-devel flex gnome-vfs2-devel gperf gtk2-devel icu java-devel kdelibs3-devel krb5 libexif mono-devel neon-devel openldap2-devel pam-devel perl-Archive-Zip perl-Compress-Zlib python-devel recode unixODBC-devel unzip xml-commons-apis xorg-x11 zip %define ooo_prefix %_libdir %define ooo_home ooo3 -%define ooo_build_tag ooo310-m4 +%define ooo_build_tag ooo310-m6 License: Artistic License; BSD 3-Clause; GPL v2 or later; LaTeX Public License (LPPL); LGPL v2.1 or later; LGPL v3 only; MOZILLA PUBLIC LICENSE (MPL/NPL); X11/MIT Group: Productivity/Office/Suite AutoReqProv: on @@ -155,6 +155,9 @@ %ooo_prefix/%ooo_home/solver/* %changelog +* Fri Mar 20 2009 pmladek@suse.cz +- updated to the milestone ooo310-m6 +- updated ooo-build to version 3.0.99.2 (3.1-beta2) * Tue Mar 10 2009 pmladek@suse.cz - updated to the milestone ooo310-m4 - updated ooo-build to version 3.0.99.1 (3.1-beta1) ++++++ ooo310-m4-ure.tar.bz2 -> ooo310-m6-ure.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ooo310-m4-ure/sal/inc/rtl/math.h new/ooo310-m6-ure/sal/inc/rtl/math.h --- old/ooo310-m4-ure/sal/inc/rtl/math.h 2009-02-20 21:17:56.000000000 +0100 +++ new/ooo310-m6-ure/sal/inc/rtl/math.h 2009-03-06 13:55:10.000000000 +0100 @@ -424,6 +424,16 @@ */ double SAL_CALL rtl_math_log1p(double fValue) SAL_THROW_EXTERN_C(); +/** Returns more accurate atanh(x) for x near 0 than calculating + 0.5*log((1+x)/(1-x)). + + atanh is part of the C99 standard, but not provided by some compilers. + + @param fValue + The value x in the term atanh(x). + */ +double SAL_CALL rtl_math_atanh(double fValue) SAL_THROW_EXTERN_C(); + #if defined __cplusplus } #endif /* __cplusplus */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ooo310-m4-ure/sal/inc/rtl/math.hxx new/ooo310-m6-ure/sal/inc/rtl/math.hxx --- old/ooo310-m4-ure/sal/inc/rtl/math.hxx 2009-02-20 21:17:56.000000000 +0100 +++ new/ooo310-m6-ure/sal/inc/rtl/math.hxx 2009-03-06 13:55:10.000000000 +0100 @@ -214,6 +214,13 @@ return rtl_math_log1p(fValue); } +/** A wrapper around rtl_math_atanh. + */ +inline double atanh(double fValue) +{ + return rtl_math_atanh(fValue); +} + /** Test equality of two values with an accuracy of the magnitude of the given values scaled by 2^-48 (4 bits roundoff stripped). diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ooo310-m4-ure/sal/rtl/source/math.cxx new/ooo310-m6-ure/sal/rtl/source/math.cxx --- old/ooo310-m4-ure/sal/rtl/source/math.cxx 2009-02-20 21:17:50.000000000 +0100 +++ new/ooo310-m6-ure/sal/rtl/source/math.cxx 2009-03-06 13:55:10.000000000 +0100 @@ -974,9 +974,20 @@ double SAL_CALL rtl_math_log1p( double fValue ) SAL_THROW_EXTERN_C() { - double fp = 1.0 + fValue; + // Use volatile because a compiler may be too smart "optimizing" the + // condition such that in certain cases the else path was called even if + // (fp==1.0) was true, where the term (fp-1.0) then resulted in 0.0 and + // hence the entire expression resulted in NaN. + // Happened with g++ 3.4.1 and an input value of 9.87E-18 + volatile double fp = 1.0 + fValue; if (fp == 1.0) return fValue; else return log(fp) * fValue / (fp-1.0); } + + +double SAL_CALL rtl_math_atanh( double fValue ) SAL_THROW_EXTERN_C() +{ + return 0.5 * rtl_math_log1p( 2.0 * fValue / (1.0-fValue) ); +} diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ooo310-m4-ure/sal/util/sal.map new/ooo310-m6-ure/sal/util/sal.map --- old/ooo310-m4-ure/sal/util/sal.map 2009-02-20 21:18:10.000000000 +0100 +++ new/ooo310-m6-ure/sal/util/sal.map 2009-03-06 13:55:10.000000000 +0100 @@ -579,6 +579,7 @@ global: rtl_math_expm1; rtl_math_log1p; + rtl_math_atanh; } UDK_3.8; PRIVATE_1.0 { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de