"Michael Kerrisk" <mtk.manpages@xxxxxxxxxxxxxx> 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 -- Andreas Jaeger, Director Platform/openSUSE, aj@xxxxxxx SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp74XrPUGJyn.pgp
Description: PGP signature