public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug math/15631] New: sqrt spurious inexact exceptions Date: Fri, 14 Jun 2013 20:42:00 -0000 [thread overview] Message-ID: <bug-15631-131@http.sourceware.org/bugzilla/> (raw) http://sourceware.org/bugzilla/show_bug.cgi?id=15631 Bug ID: 15631 Summary: sqrt spurious inexact exceptions Product: glibc Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: jsm28 at gcc dot gnu.org The dbl-64 implementation of sqrt raises spurious "inexact" exceptions; as a fully-defined IEEE 754 operation, sqrt should raise "inexact" if and only if the result actually is inexact. On MIPS64 (n32 ABI) I see: Failure: sqrt (2209): Exception "Inexact" set Failure: sqrt (4): Exception "Inexact" set Failure: sqrt (0.25): Exception "Inexact" set Failure: sqrt (6642.25): Exception "Inexact" set Failure: sqrt (15190.5625): Exception "Inexact" set (On many platforms, hardware sqrt instructions are used and so this issue does not appear.) -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2013-06-14 20:42 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-06-14 20:42 jsm28 at gcc dot gnu.org [this message] 2013-06-15 20:00 ` [Bug math/15631] " jsm28 at gcc dot gnu.org 2014-06-13 15:05 ` 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-15631-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).