about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-03-10 23:48:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-03-10 23:48:46 +0000
commitb55b28e6574c215689e4656628b911788870de31 (patch)
tree1c518f634bf77f45f52d642309da0afa5b8fc3d3 /sysdeps/powerpc/powerpc32
parent6aa3e97e2530f9917f504eb4146af119a3f27229 (diff)
downloadglibc-b55b28e6574c215689e4656628b911788870de31.tar.gz
glibc-b55b28e6574c215689e4656628b911788870de31.tar.xz
glibc-b55b28e6574c215689e4656628b911788870de31.zip
Allow spurious underflow / inexact for ldbl-128ibm.
A large number of the test-ldouble failures seen for ldbl-128ibm are
spurious "underflow" and "inexact" exceptions.  These arise from such
exceptions in the underlying arithmetic; unlike other spurious
exceptions from that arithmetic, they do not in general relate to
cases where the returned result is also substantially inaccurate, are
not so readily avoidable by appropriately conditional libgcc patches,
and are widespread enough to be hard to handle through individual
XFAILing of the affected tests.

Thus, this patch documents relaxed accuracy goals for libm functions
for IBM long double and makes libm-test.inc reflect these spurious
exceptions in ldbl-128ibm arithmetic and always allow them in
ldbl-128ibm testing (while still not allowing these exceptions to be
missing where required to be present).  Tested for powerpc.

	* manual/math.texi (Errors in Math Functions): Document relaxed
	accuracy goals for IBM long double.
	* math/libm-test.inc (test_exceptions): Always allow spurious
	"underflow" and "inexact" exceptions for IBM long double.
Diffstat (limited to 'sysdeps/powerpc/powerpc32')
0 files changed, 0 insertions, 0 deletions