From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15872 invoked by alias); 11 Sep 2015 19:51:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 15718 invoked by uid 48); 11 Sep 2015 19:51:56 -0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/18956] New: powf inaccuracy Date: Fri, 11 Sep 2015 19:51:00 -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.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW 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 target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00142.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18956 Bug ID: 18956 Summary: powf inaccuracy Product: glibc Version: 2.22 Status: NEW Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: jsm28 at gcc dot gnu.org Target Milestone: --- Even in round-to-nearest mode, powf can have errors beyond the 9ulp maximum accepted in glibc (seen on x86_64 and mips64): Failure: Test: pow (0xd.73035p-4, -0x1.47bb8p+8) Result: is: 5.22400435890634124322e+24 0x1.148e7600000000000000p+82 should be: 5.22399859429881820899e+24 0x1.148e6200000000000000p+82 difference: 5.76460752303423488000e+18 0x1.40000000000000000000p+62 ulp : 10.0000 max.ulp : 3.0000 Failure: Test: pow_downward (0xd.73035p-4, -0x1.47bb8p+8) Result: is: 5.22398418278001062340e+24 0x1.148e3000000000000000p+82 should be: 5.22399801783806590556e+24 0x1.148e6000000000000000p+82 difference: 1.38350580552821637120e+19 0x1.80000000000000000000p+63 ulp : 24.0000 max.ulp : 4.0000 Failure: Test: pow_towardzero (0xd.73035p-4, -0x1.47bb8p+8) Result: is: 5.22398360631925831997e+24 0x1.148e2e00000000000000p+82 should be: 5.22399801783806590556e+24 0x1.148e6000000000000000p+82 difference: 1.44115188075855872000e+19 0x1.90000000000000000000p+63 ulp : 25.0000 max.ulp : 8.0000 Failure: Test: pow_upward (0xd.73035p-4, -0x1.47bb8p+8) Result: is: 5.22400435890634124323e+24 0x1.148e7600000000000000p+82 should be: 5.22399859429881820899e+24 0x1.148e6200000000000000p+82 difference: 5.76460752303423488000e+18 0x1.40000000000000000000p+62 ulp : 10.0000 max.ulp : 8.0000 -- You are receiving this mail because: You are on the CC list for the bug.