All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: "Joseph S. Myers" <joseph-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org>
Cc: Michael Kerrisk
	<mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>,
	libc-alpha-9JcytcrH/bA+uJoB2kUjGw@public.gmane.org,
	Andreas Jaeger <aj-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>,
	Andries Brouwer <Andries.Brouwer-rh8NL+sEX9E@public.gmane.org>,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Report bugs for variations in error handling in math functions?
Date: Thu, 31 Jul 2008 16:02:50 +0200	[thread overview]
Message-ID: <4891C60A.5000103@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0807251535040.7701-9YEB1lltEqivcGRMvF24k2I39yigxGEX@public.gmane.org>

> I think the correct approach is to consider it a bug if functions do not 
> set errno, or do not raise exceptions - that is, all of (b), (c) and (d) 
> are bugs.  This would allow math_errhandling to be 
> MATH_ERRNO|MATH_ERREXCEPT unless translation units are compiled with 
> options preventing this, and make the error handling options available 
> consistent across the math.h functions supported by glibc.  To conform 
> with C99, at least one approach (errno or exceptions) must be consistently 
> supported across all the functions, in any case.

I've reported bugs for all of the non-conformances I found.

Cheers,

Michael

http://sources.redhat.com/bugzilla/show_bug.cgi?id=6759
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6776
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6777
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6778
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6779
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6780
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6781
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6782
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6783
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6783
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6783
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6785
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6786
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6788
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6792
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6793
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6794
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6795
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6796
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6797
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6798
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6799
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6801
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6801
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6803
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6803
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6804
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6805
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6806
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6807
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6810

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-07-31 14:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 10:14 Report bugs for variations in error handling in math functions? Michael Kerrisk
     [not found] ` <cfd18e0f0807250314h5c063754gd672c04b2eeef2f6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-25 15:43   ` Joseph S. Myers
     [not found]     ` <Pine.LNX.4.64.0807251535040.7701-9YEB1lltEqivcGRMvF24k2I39yigxGEX@public.gmane.org>
2008-07-25 15:53       ` Michael Kerrisk
     [not found]         ` <cfd18e0f0807250853q636b8d2dx8cefd53bc672b7a9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-25 17:06           ` Joseph S. Myers
2008-07-28  5:54       ` Michael Kerrisk
     [not found]         ` <cfd18e0f0807272254k54343bc3pdddde9afca423eec-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-28 17:05           ` Joseph S. Myers
2008-07-31 14:02       ` Michael Kerrisk [this message]
     [not found]         ` <4891C60A.5000103-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-08-04  5:48           ` Michael Kerrisk
     [not found]             ` <cfd18e0f0808032248l3f9d7ef4r2af2a989da4d9eb9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-06  9:27               ` Michael Kerrisk

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=4891C60A.5000103@gmail.com \
    --to=mtk.manpages-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
    --cc=Andries.Brouwer-rh8NL+sEX9E@public.gmane.org \
    --cc=aj-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org \
    --cc=joseph-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org \
    --cc=libc-alpha-9JcytcrH/bA+uJoB2kUjGw@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.