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:36:28 +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 12:16:24 +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: > Well, for example, according to my tests, cos(3) does not set errno. > Is that what you would have expected? No, I wouldn't. And double checking, it's the other way round :-(. We test the exception handling, not the error handling, so tests like (libc/math/libm-test.inc) these TEST_f_f (cos, plus_infty, nan_value, INVALID_EXCEPTION); TEST_f_f (cos, minus_infty, nan_value, INVALID_EXCEPTION); test that cos with input plus/minus infinity returns a NaN and raises and invalid exception which is tested with fetestexcept. And if you have different results, please tell me, 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) iD8DBQFIiaytOJpWPMJyoSYRAmmJAJ4z7TTJtVY3RB7efkcyiHIFTvRzCACgl9zz GqPC4mm0EI6PAuXAWCKlPjg= =YCI/ -----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