public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/2557] Incorrect return from double scalbln (-0X1.5555555555556P-2, 4294966274)
       [not found] <bug-2557-131@http.sourceware.org/bugzilla/>
@ 2012-02-19 17:57 ` jsm28 at gcc dot gnu.org
  0 siblings, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-19 17:57 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=2557

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-19 17:56:47 UTC ---
scalbln takes a "long" second argument, which on x86_64 is a signed 64-bit
value.  When that is 4294966274, a large positive value, a result of -inf as
reported here is the correct result.  If you pass (int)4294966274, a negative
value, then you do get -0X0.5555555555556P-1022 as expected.  So there is no
bug here.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/2557] Incorrect return from double scalbln (-0X1.5555555555556P-2, 4294966274)
  2006-04-12 22:37 [Bug math/2557] New: Incorrect return from double scalb (-0X1.5555555555556P-2, 1022) hjl at lucon dot org
  2006-04-12 22:38 ` [Bug math/2557] Incorrect return from double scalbln (-0X1.5555555555556P-2, 4294966274) hjl at lucon dot org
@ 2006-04-23 17:54 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2006-04-23 17:54 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2006-04-23 17:53 -------
Suspended until somebody comes up with a patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drepper at redhat dot com
             Status|NEW                         |SUSPENDED


http://sourceware.org/bugzilla/show_bug.cgi?id=2557

------- 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] 3+ messages in thread

* [Bug math/2557] Incorrect return from double scalbln (-0X1.5555555555556P-2, 4294966274)
  2006-04-12 22:37 [Bug math/2557] New: Incorrect return from double scalb (-0X1.5555555555556P-2, 1022) hjl at lucon dot org
@ 2006-04-12 22:38 ` hjl at lucon dot org
  2006-04-23 17:54 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hjl at lucon dot org @ 2006-04-12 22:38 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Incorrect return from double|Incorrect return from double
                   |scalb (-0X1.5555555555556P- |scalbln (-
                   |2, 1022)                    |0X1.5555555555556P-2,
                   |                            |4294966274)


http://sourceware.org/bugzilla/show_bug.cgi?id=2557

------- 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] 3+ messages in thread

end of thread, other threads:[~2012-02-19 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-2557-131@http.sourceware.org/bugzilla/>
2012-02-19 17:57 ` [Bug math/2557] Incorrect return from double scalbln (-0X1.5555555555556P-2, 4294966274) jsm28 at gcc dot gnu.org
2006-04-12 22:37 [Bug math/2557] New: Incorrect return from double scalb (-0X1.5555555555556P-2, 1022) hjl at lucon dot org
2006-04-12 22:38 ` [Bug math/2557] Incorrect return from double scalbln (-0X1.5555555555556P-2, 4294966274) hjl at lucon dot org
2006-04-23 17:54 ` drepper at redhat dot com

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