public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/6808] yn() does not set errno for overflow error.
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
@ 2012-03-01 21:01 ` jsm28 at gcc dot gnu.org
2012-05-08 16:09 ` polacek at redhat dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-03-01 21:01 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=6808
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|aj at suse dot de |unassigned at sourceware
| |dot org
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-03-01 21:00:56 UTC ---
Confirmed with current sources on both x86 and x86_64.
--
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] 9+ messages in thread
* [Bug math/6808] yn() does not set errno for overflow error.
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
2012-03-01 21:01 ` [Bug math/6808] yn() does not set errno for overflow error jsm28 at gcc dot gnu.org
@ 2012-05-08 16:09 ` polacek at redhat dot com
2012-05-09 12:41 ` polacek at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: polacek at redhat dot com @ 2012-05-08 16:09 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=6808
Marek Polacek <polacek at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |polacek at redhat dot com
AssignedTo|unassigned at sourceware |polacek at redhat dot com
|dot org |
--
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] 9+ messages in thread
* [Bug math/6808] yn() does not set errno for overflow error.
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
2012-03-01 21:01 ` [Bug math/6808] yn() does not set errno for overflow error jsm28 at gcc dot gnu.org
2012-05-08 16:09 ` polacek at redhat dot com
@ 2012-05-09 12:41 ` polacek at redhat dot com
2012-05-28 0:07 ` polacek at redhat dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: polacek at redhat dot com @ 2012-05-09 12:41 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=6808
Marek Polacek <polacek at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #3 from Marek Polacek <polacek at redhat dot com> 2012-05-09 12:40:48 UTC ---
I have a patch.
--
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] 9+ messages in thread
* [Bug math/6808] yn() does not set errno for overflow error.
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2012-05-09 12:41 ` polacek at redhat dot com
@ 2012-05-28 0:07 ` polacek at redhat dot com
2012-07-12 14:38 ` polacek at redhat dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: polacek at redhat dot com @ 2012-05-28 0:07 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=6808
Marek Polacek <polacek at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |14173
--
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] 9+ messages in thread
* [Bug math/6808] yn() does not set errno for overflow error.
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
` (3 preceding siblings ...)
2012-05-28 0:07 ` polacek at redhat dot com
@ 2012-07-12 14:38 ` polacek at redhat dot com
2012-07-25 11:00 ` polacek at redhat dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: polacek at redhat dot com @ 2012-07-12 14:38 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=6808
Bug 6808 depends on bug 14173, which changed state.
Bug 14173 Summary: ynl() returns wrong value for LDBL_MIN
http://sourceware.org/bugzilla/show_bug.cgi?id=14173
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
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] 9+ messages in thread
* [Bug math/6808] yn() does not set errno for overflow error.
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
` (4 preceding siblings ...)
2012-07-12 14:38 ` polacek at redhat dot com
@ 2012-07-25 11:00 ` polacek at redhat dot com
2020-05-23 11:50 ` mtk.manpages at gmail dot com
2020-05-26 10:33 ` mtk.manpages at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: polacek at redhat dot com @ 2012-07-25 11:00 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=6808
Marek Polacek <polacek at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Marek Polacek <polacek at redhat dot com> 2012-07-25 11:00:26 UTC ---
Fixed.
--
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] 9+ messages in thread
* [Bug math/6808] yn() does not set errno for overflow error.
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
` (5 preceding siblings ...)
2012-07-25 11:00 ` polacek at redhat dot com
@ 2020-05-23 11:50 ` mtk.manpages at gmail dot com
2020-05-26 10:33 ` mtk.manpages at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: mtk.manpages at gmail dot com @ 2020-05-23 11:50 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=6808
--- Comment #5 from Michael Kerrisk <mtk.manpages at gmail dot com> ---
The fix was commit 354691b7b55d014b9a4d3a94e2f8f934870b6bff
glibc 2.17
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/6808] yn() does not set errno for overflow error.
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
` (6 preceding siblings ...)
2020-05-23 11:50 ` mtk.manpages at gmail dot com
@ 2020-05-26 10:33 ` mtk.manpages at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: mtk.manpages at gmail dot com @ 2020-05-26 10:33 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=6808
--- Comment #6 from Michael Kerrisk <mtk.manpages at gmail dot com> ---
Manual page updated to note the bug fix.
--- a/man3/y0.3
+++ b/man3/y0.3
@@ -208,13 +208,10 @@ for this case.
.TP
Range error: result overflow
.\" e.g., yn(10, 1e-40) on glibc 2.8/x86-32
-.\" .I errno
-.\" is set to
-.\" .BR ERANGE .
.I errno
-is not set for this case.
-.\" FIXME . Is it intentional that errno is not set?
-.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
+is set to
+.BR ERANGE
+(but see BUGS).
An overflow floating-point exception
.RB ( FE_OVERFLOW )
is raised.
@@ -262,6 +259,12 @@ and no
exception was raised.
as POSIX.1-2004 requires.
.PP
+Before glibc 2.17,
+.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
+did not set
+.I errno
+for "range error: result underflow".
+.PP
In glibc version 2.3.2 and earlier,
.\" Actually, 2.3.2 is the earliest test result I have; so yet
.\" to confirm if this error occurs only in 2.3.2.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug math/6808] yn() does not set errno for overflow error.
2008-07-31 12:40 [Bug math/6808] New: " mtk dot manpages at gmail dot com
@ 2008-07-31 12:41 ` mtk dot manpages at gmail dot com
0 siblings, 0 replies; 9+ messages in thread
From: mtk dot manpages at gmail dot com @ 2008-07-31 12:41 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From mtk dot manpages at gmail dot com 2008-07-31 12:40 -------
Created an attachment (id=2880)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2880&action=view)
test program
Sample run showing the problem:
$ /tmp/mt_yn 10 dbl_min
errno == 0
fetestexcept() says: FE_OVERFLOW FE_INEXACT
yn(10,2.22507385850720138e-308)=-inf
0 FE_OVERFLOW -inf
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6808
------- 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] 9+ messages in thread
end of thread, other threads:[~2020-05-26 10:33 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-6808-131@http.sourceware.org/bugzilla/>
2012-03-01 21:01 ` [Bug math/6808] yn() does not set errno for overflow error jsm28 at gcc dot gnu.org
2012-05-08 16:09 ` polacek at redhat dot com
2012-05-09 12:41 ` polacek at redhat dot com
2012-05-28 0:07 ` polacek at redhat dot com
2012-07-12 14:38 ` polacek at redhat dot com
2012-07-25 11:00 ` polacek at redhat dot com
2020-05-23 11:50 ` mtk.manpages at gmail dot com
2020-05-26 10:33 ` mtk.manpages at gmail dot com
2008-07-31 12:40 [Bug math/6808] New: " mtk dot manpages at gmail dot com
2008-07-31 12:41 ` [Bug math/6808] " mtk dot manpages at gmail 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).