public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "azanella at linux dot vnet.ibm.com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug math/15419] New: PowerPC: spurious overflow for hypotf Date: Tue, 30 Apr 2013 14:25:00 -0000 [thread overview] Message-ID: <bug-15419-131@http.sourceware.org/bugzilla/> (raw) http://sourceware.org/bugzilla/show_bug.cgi?id=15419 Bug #: 15419 Summary: PowerPC: spurious overflow for hypotf Product: glibc Version: 2.18 Status: NEW Severity: normal Priority: P2 Component: math AssignedTo: unassigned@sourceware.org ReportedBy: azanella@linux.vnet.ibm.com Classification: Unclassified The hypotf implementation for PowerPC (sysdeps/powerpc/fpu/e_hypotf.c) generates spurious overflow exception for subnormal arguments. This is due it checks if arg1/arg2 > 2^30 (arg1 > arg2) by using a FP division. Since the double version of ieee sqrt function will be used to compute final value, there is not need to argument reduction in such case. A possible fix would be just to clean up the test and call ieee sqrt directly. I will send a patch to libc-alpha with a fix. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
next reply other threads:[~2013-04-30 14:25 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-04-30 14:25 azanella at linux dot vnet.ibm.com [this message] 2013-05-07 14:16 ` [Bug math/15419] " azanella at linux dot vnet.ibm.com 2014-06-13 18:09 ` fweimer at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-15419-131@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).