From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24970 invoked by alias); 9 Oct 2014 18:45:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24942 invoked by uid 48); 9 Oct 2014 18:45:50 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/63500] [4.9/5 Regression] bug in debug version of std::make_move_iterator? Date: Thu, 09 Oct 2014 18:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00726.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63500 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdumont at gcc dot gnu.org --- Comment #3 from Jonathan Wakely --- Fran=C3=A7ois, is there a quick fix for this? >>From gcc-bugs-return-463706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 09 19:01:49 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4255 invoked by alias); 9 Oct 2014 19:01:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4216 invoked by uid 55); 9 Oct 2014 19:01:45 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/63488] large errors in y0q Date: Thu, 09 Oct 2014 19:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00727.txt.bz2 Content-length: 1884 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63488 --- Comment #8 from Steve Kargl --- On Thu, Oct 09, 2014 at 06:27:08PM +0000, zimmerma+gcc at loria dot fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63488 > > --- Comment #7 from Paul Zimmermann --- > I agree that near zeroes we can expect large errors. However for > other functions I got only small errors in ulps, maybe I was unlucky. > Also the ultimate goal is to get correct rounding, even near zeroes. > I suspect you got lucky :-) IIRC my testing correctly, exhaustive testing of values in each interval shows lgammaf(x) for x < 0 and not an integer also has major accuracy issues: Interval: Max ULP Value [-1.10000e+01, -1.00000e+01): 6.72889 -1.0000009e+01 [-1.00000e+01, -9.00000e+00): 83.4928 -9.0000029e+00 [-9.00000e+00, -8.00000e+00): 24615.2 -8.0000248e+00 [-8.00000e+00, -7.00000e+00): 22575.7 -7.9999752e+00 [-7.00000e+00, -6.00000e+00): 100393. -6.0013852e+00 [-6.00000e+00, -5.00000e+00): 36966.5 -5.0082183e+00 [-5.00000e+00, -4.00000e+00): 324309. -4.0393620e+00 [-4.00000e+00, -3.00000e+00): 2981098 -3.1435809e+00 [-3.00000e+00, -2.00000e+00): 7497618 -2.4570248e+00 [-2.00000e+00, -1.00000e+00): 4.18718 -1.7313151e+00 [-1.00000e+00, -4.76837e-07): 3.46651 -3.5002786e-01 troutmask:fvwm:kargl[209] ./testf -a -3.1435809e+00 libm: -2.38418579e-07, 1 mpfr: -1.96054615e-07, 1 The relevant code in testf is (RND is round-to-nearest). x = (float)strtof(optarg, NULL); y = lgammaf_r(x,&s); mpfr_inits2(DBL_MANT_DIG, t1, t2, NULL); mpfr_set_d(t1, (double)x, RND); mpfr_lgamma(t2, &si, t1, RND); printf("libm: %.8e, %d\n", y, s); mpfr_printf("mpfr: %.8Re, %d\n", t2, si); mpfr_clears(t1, t2, NULL);