From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70D8B3875449; Mon, 30 Nov 2020 10:27:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70D8B3875449 From: "zimmerma+gcc at loria dot fr" To: glibc-bugs@sourceware.org Subject: [Bug math/26982] New: [x86_64] x86_64 lgamma has too large ULP error Date: Mon, 30 Nov 2020 10:27:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zimmerma+gcc at loria dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2020 10:27:23 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26982 Bug ID: 26982 Summary: [x86_64] x86_64 lgamma has too large ULP error Product: glibc Version: 2.32 Status: UNCONFIRMED Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: zimmerma+gcc at loria dot fr CC: joseph at codesourcery dot com Target Milestone: --- $ cat test.c #include #include int main() { double x =3D -0x1.f60c969a239f2p+1, y; y =3D lgamma (x); printf ("x=3D%a y=3D%a\n", x, y); } $ gcc -fno-builtin test.c -lm $ ./a.out x=3D-0x1.f60c969a239f2p+1 y=3D-0x1.fd3d359162ae4p-2 The correctly rounded result is -0x1.fd3d359162adap-2, thus the error is 10 ulps, which is larger than the maximum accepted limit of 9 ulps. --=20 You are receiving this mail because: You are on the CC list for the bug.=