tests/lib/libm/t_asin: Cite PR lib/58246.

This commit is contained in:
riastradh 2024-05-11 21:27:53 +00:00
parent d2baffa504
commit 9fd6dfe53c
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: t_asin.c,v 1.4 2018/11/07 03:59:36 riastradh Exp $ */ /* $NetBSD: t_asin.c,v 1.5 2024/05/11 21:27:53 riastradh Exp $ */
/*- /*-
* Copyright (c) 2011 The NetBSD Foundation, Inc. * Copyright (c) 2011 The NetBSD Foundation, Inc.
@ -240,8 +240,9 @@ ATF_TC_BODY(asinf_inrange, tc)
float y = values[i].y; float y = values[i].y;
if (fabs(x) == 0.5) if (fabs(x) == 0.5)
atf_tc_expect_fail("asinf is busted," atf_tc_expect_fail("PR lib/58246:"
" gives ~2ulp error"); " asinf gives ~2ulp error"
" when it should give <1ulp");
if (!(fabsf((asinf(x) - y)/y) <= eps)) { if (!(fabsf((asinf(x) - y)/y) <= eps)) {
atf_tc_fail_nonfatal("asinf(%.8g) = %.8g != %.8g," atf_tc_fail_nonfatal("asinf(%.8g) = %.8g != %.8g,"
" error=~%.1fulp", " error=~%.1fulp",