From: "Michael Kerrisk" <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Andreas Jaeger <aj-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
Cc: Fabian Kreutz
<kreutz-WMH0Fc3rTAP1qYPpFx2fzhvVK+yQ3ZXh@public.gmane.org>,
Andries Brouwer <Andries.Brouwer-rh8NL+sEX9E@public.gmane.org>,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: math_error.7 draft 4, for review
Date: Fri, 25 Jul 2008 12:16:24 +0200 [thread overview]
Message-ID: <cfd18e0f0807250316k4bb6cbd1t8c6f20317f669c4a@mail.gmail.com> (raw)
In-Reply-To: <m37ibab7sr.fsf-Qr39nsLl7G5WFLYQ/5USTw@public.gmane.org>
On Fri, Jul 25, 2008 at 12:02 PM, Andreas Jaeger <aj-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org> wrote:
> "Michael Kerrisk" <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> writes:
>
>> On Fri, Jul 25, 2008 at 11:30 AM, Andreas Jaeger <aj-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org> wrote:
>>> "Michael Kerrisk" <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> writes:
>>>
>>>> [CC+= Andries]
>>>>
>>>> On Mon, Jul 21, 2008 at 12:23 PM, Michael Kerrisk
>>>> <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:
>>>>> [Ooops -- wrong list CCed on previous mail; and this time, I'll update
>>>>> the draft number]
>>>>>
>>>>> Andreas,
>>>>>
>>>>> The latest version of the page is below.
>>>
>>> This one looked ok to me,
>>
>> Thanks Andreas.
>>
>> So I've been testing all of the math functions lately (on glibc 2.8),
>> and I discover the following:
>>
>> a) on error, many functions set errno AND raise an exception (fetestexcept()).
>> b) on error, a few functions set errno but DON"T raise an exception
>> (fetestexcept()).
>> c) on error, a few functions DON'T set errno BUT DO raise an exception
>> (fetestexcept()).
>> d) on error, a very few functions pursue a mixture of all of the
>> above, depending on the error.
>>
>> My math_error.7 page currently implies that all functions should do
>> a). Clearly I'll need to amend that.
>>
>> But the main question is, should I raise a pile of glibc bugs for the
>> functions in cases b), c), and d)?
>
> I suggest to discuss on the libc-alpha mailing list first.
Okay -- I have done so.
> We have not done the exception handling properly. errno setting should
> be correct, we have tests for these,
Well, for example, according to my tests, cos(3) does not set errno.
Is that what you would have expected?
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
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
next prev parent reply other threads:[~2008-07-25 10:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-21 10:23 math_error.7 draft 4, for review Michael Kerrisk
[not found] ` <cfd18e0f0807210323m4912a31pa5359c2b7409167c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-21 10:25 ` Michael Kerrisk
[not found] ` <cfd18e0f0807210325m7606441as19811b6802661a8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-25 9:30 ` Andreas Jaeger
[not found] ` <m3zlo6b9b8.fsf-Qr39nsLl7G5WFLYQ/5USTw@public.gmane.org>
2008-07-25 9:36 ` Michael Kerrisk
[not found] ` <cfd18e0f0807250236y476023fan90e97822e772859e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-25 10:02 ` Andreas Jaeger
[not found] ` <m37ibab7sr.fsf-Qr39nsLl7G5WFLYQ/5USTw@public.gmane.org>
2008-07-25 10:16 ` Michael Kerrisk [this message]
[not found] ` <cfd18e0f0807250316k4bb6cbd1t8c6f20317f669c4a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-25 10:36 ` Andreas Jaeger
[not found] ` <m3y73q9ro3.fsf-Qr39nsLl7G5WFLYQ/5USTw@public.gmane.org>
2008-07-25 10:49 ` Michael Kerrisk
[not found] ` <cfd18e0f0807250349jaa38928kaac968720c377322-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-25 12:50 ` Andreas Jaeger
[not found] ` <m3myk6cel3.fsf-Qr39nsLl7G5WFLYQ/5USTw@public.gmane.org>
2008-07-25 12:56 ` Michael Kerrisk
[not found] ` <cfd18e0f0807250556p40ae6cd3l8b6617fadabd6411-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-25 13:11 ` Andreas Jaeger
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=cfd18e0f0807250316k4bb6cbd1t8c6f20317f669c4a@mail.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=kreutz-WMH0Fc3rTAP1qYPpFx2fzhvVK+yQ3ZXh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox