]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow lib/msun/logarithm_test to pass on ld128 platforms
authorAlex Richardson <arichardson@FreeBSD.org>
Mon, 19 Apr 2021 23:22:45 +0000 (00:22 +0100)
committerAlex Richardson <arichardson@FreeBSD.org>
Thu, 22 Apr 2021 09:44:55 +0000 (10:44 +0100)
commitb8beded343980477e6d670c263fda7b0007510cc
treeb9468d4914d1d483165ac5c96b29804f590ddb04
parentd08c4d80abd8fc49771f9e3895a5d519633a64ef
Allow lib/msun/logarithm_test to pass on ld128 platforms

For some reason the ld128 log1pl() implementation is less accurate than
logl(), but does at least guarantee precision >= the ld80 implementation.
Mark log1p_accuracy_tests as XFAIL for ld128 and increase the log1p tolerance
to the ld80 equivalent in accuracy_tests to avoid losing test coverage for
the other functions.

PR: 253984
Reviewed By: ngie, dim
Differential Revision: https://reviews.freebsd.org/D29039

(cherry picked from commit 1ad83445fc0f1d2aecd32635f4ae713a057aa091)
lib/msun/tests/logarithm_test.c