public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zimmerma+gcc at loria dot fr" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16526] New: Missing underflow exception from sincos
Date: Tue, 04 Feb 2014 20:39:00 -0000	[thread overview]
Message-ID: <bug-16526-131@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=16526

            Bug ID: 16526
           Summary: Missing underflow exception from sincos
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: zimmerma+gcc at loria dot fr

on x86_64 we get (where sincos1 compute the sine using the sincos function):

Testing function sincos1 for exponent 0 [seed=1823].
 rounding mode MPFR_RNDN:
      wrong underflow flag for x=4.0000000000000@-269
      library gives 4.0000000000000@-269
      mpfr    gives 4.0000000000000@-269
      underflow: mpfr 1, library 0

Since 4.0000000000000@-269 = 0x1p-1074 is the smallest subnormal, an underflow
exception should be raised.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


             reply	other threads:[~2014-02-04 20:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 20:39 zimmerma+gcc at loria dot fr [this message]
2014-02-07  7:38 ` [Bug math/16526] " zimmerma+gcc at loria dot fr
2014-06-13  8:45 ` fweimer at redhat dot com
2014-06-13  8:46 ` fweimer at redhat dot com
2015-06-23 22:25 ` cvs-commit at gcc dot gnu.org
2015-06-23 22:26 ` jsm28 at gcc dot gnu.org

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-16526-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: link
Be 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).