public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/887] New: Math library function "logb" and "nextafter" inconsistent
@ 2005-04-28 17:50 uttamp at us dot ibm dot com
  2005-04-29 20:38 ` [Bug math/887] " uttamp at us dot ibm dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 36+ messages in thread
From: uttamp at us dot ibm dot com @ 2005-04-28 17:50 UTC (permalink / raw)
  To: glibc-bugs

Math library function logb give different result for some input values when 
   rounding mode "towards -ve infinity" is set and not set. Values for which I 
   got miscompare are "0X3FF0000000000000", "0X3FF8000000000000", 
   "0X3FF2000000000000", "0X3FFFFFFFFFFFFFFF", "0X3FF7FFFFFFFFFFFF" and 
   "0X3FF1FFFFFFFFFFFF".

Values obtained when rounding mode "towards -ve infinity" for all above input 
values-
                    "0x8000000000000000"
Values obtained when no rounding mode is set for all above input values-
                     "0x0000000000000000"


Similar problem i have seen with function nextafter - when rounding mode is set
it gives some value and when it is not set gives some value.

-- 
           Summary: Math library function "logb" and "nextafter"
                    inconsistent
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: uttamp at us dot ibm dot com
        ReportedBy: uttamp at us dot ibm dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: PowerPC (ppc64)
  GCC host triplet: PowerPC (ppc64)
GCC target triplet: PowerPC (ppc64)


http://sources.redhat.com/bugzilla/show_bug.cgi?id=887

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 36+ messages in thread
[parent not found: <bug-887-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2015-10-05 17:51 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28 17:50 [Bug math/887] New: Math library function "logb" and "nextafter" inconsistent uttamp at us dot ibm dot com
2005-04-29 20:38 ` [Bug math/887] " uttamp at us dot ibm dot com
2005-06-16 19:12 ` uttamp at us dot ibm dot com
2005-07-19 22:16 ` uttamp at us dot ibm dot com
2005-10-25 17:05 ` uttamp at us dot ibm dot com
2005-11-02  1:29 ` uttamp at us dot ibm dot com
2005-11-21 17:57 ` uttamp at us dot ibm dot com
2005-11-21 18:07 ` jakub at redhat dot com
2006-09-30  5:03 ` rsa at us dot ibm dot com
2006-09-30  5:54 ` rsa at us dot ibm dot com
     [not found] <bug-887-131@http.sourceware.org/bugzilla/>
2012-02-22 21:44 ` jsm28 at gcc dot gnu.org
2012-02-23 19:49 ` rsa at us dot ibm.com
2012-02-23 21:29 ` rsa at us dot ibm.com
2012-02-23 21:39 ` joseph at codesourcery dot com
2012-02-23 21:44 ` rsa at us dot ibm.com
2012-02-23 23:18 ` rsa at us dot ibm.com
2012-02-29 16:22 ` rsa at us dot ibm.com
2012-02-29 16:23 ` rsa at us dot ibm.com
2012-03-01 21:26 ` rsa at us dot ibm.com
2012-03-26 19:34 ` rsa at us dot ibm.com
2012-03-26 20:43 ` rsa at us dot ibm.com
2012-03-26 20:51 ` joseph at codesourcery dot com
2012-03-26 20:56 ` rsa at us dot ibm.com
2012-03-26 20:57 ` rsa at us dot ibm.com
2012-03-26 22:23 ` rsa at us dot ibm.com
2012-04-25 22:01 ` rsa at us dot ibm.com
2012-04-26 18:16 ` rsa at us dot ibm.com
2012-04-26 18:53 ` joseph at codesourcery dot com
2012-04-26 19:04 ` rsa at us dot ibm.com
2012-04-27 16:31 ` rsa at us dot ibm.com
2014-01-07 22:43 ` cvs-commit at gcc dot gnu.org
2015-10-01 21:50 ` jsm28 at gcc dot gnu.org
2015-10-01 21:51 ` jsm28 at gcc dot gnu.org
2015-10-05 17:48 ` cvs-commit at gcc dot gnu.org
2015-10-05 17:50 ` cvs-commit at gcc dot gnu.org
2015-10-05 17:51 ` jsm28 at gcc dot gnu.org

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).