From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Jaeger Subject: Re: math_error.7 draft 4, for review Date: Fri, 25 Jul 2008 12:02:44 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: In-Reply-To: (Michael Kerrisk's message of "Fri, 25 Jul 2008 11:36:49 +0200") Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Michael Kerrisk Cc: Fabian Kreutz , Andries Brouwer , linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable "Michael Kerrisk" writes: > On Fri, Jul 25, 2008 at 11:30 AM, Andreas Jaeger wrote: >> "Michael Kerrisk" writes: >> >>> [CC+=3D Andries] >>> >>> On Mon, Jul 21, 2008 at 12:23 PM, Michael Kerrisk >>> 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 (fetestexcep= t()). > 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.=20=20 We have not done the exception handling properly. errno setting should be correct, we have tests for these, Andreas =2D-=20 Andreas Jaeger, Director Platform/openSUSE, aj-l3A5Bk7waGM@public.gmane.org SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N=FCrnberg) Maxfeldstr. 5, 90409 N=FCrnberg, Germany GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iD8DBQFIiaTEOJpWPMJyoSYRAqKIAJ9sPV/CdUhsubXLohaMlv+KZcygmQCgiuRK IzI6Xz1pWC253p/j9FvNT/8= =2AuM -----END PGP SIGNATURE----- --=-=-=-- -- 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