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/15235] Spurious underflow exception for expl ldbl128-ibm Date: Wed, 06 Mar 2013 14:16:00 -0000 [thread overview] Message-ID: <bug-15235-131-7oknvXlbwt@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-15235-131@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=15235 --- Comment #2 from Adhemerval Zanella Netto <azanella at linux dot vnet.ibm.com> 2013-03-06 14:16:23 UTC --- I followed your idea on 28afd92dbdb4fef4358051aad5cb944a9527a4b5 where you added a libc_feholdexcept_setround (&env, FE_TONEAREST) (later replaced to SET_RESTORE_ROUND (FE_TONEAREST)). The exception holding on dbl-64 prevent this implementation to also create an underflow exception with same argument (-744.44...) . More specifically: 146 if (res == (res + eps*cor)) 147 { binexp.i[HIGH_HALF] = 0x00100000; 148 retval = (res-1.0)*binexp.x; 149 goto ret; 150 } Also creates an underflow without the feholdexcept being set. -- 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 prev parent reply other threads:[~2013-03-06 14:16 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-03-06 11:53 [Bug math/15235] New: Spurious overflows " azanella at linux dot vnet.ibm.com 2013-03-06 12:38 ` [Bug math/15235] Spurious underflow exception " azanella at linux dot vnet.ibm.com 2013-03-06 12:43 ` azanella at linux dot vnet.ibm.com 2013-03-06 13:54 ` joseph at codesourcery dot com 2013-03-06 14:16 ` azanella at linux dot vnet.ibm.com [this message] 2013-03-06 15:03 ` joseph at codesourcery dot com 2013-03-07 0:12 ` azanella at linux dot vnet.ibm.com 2014-06-13 18:44 ` 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-15235-131-7oknvXlbwt@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).