Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2023 19:05:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272742] Fixes for bugs in sinpi/cospi/tanpi
Message-ID:  <bug-272742-227-mtDH2EiQXV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272742-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272742-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272742

--- Comment #1 from Steve Kargl <kargl@FreeBSD.org> ---
All, Paul supplied me with his test framework.  Exhaustive testing of the f=
loat
implementations in round-to-nearest yields

Checking cospi
MPFR library: 4.2.0-p9=20=20=20=20
MPFR header:  4.2.0-p9 (based on 4.2.0)
Checking function cospif with MPFR_RNDN
libm wrong by up to 5.01e-01 ulp(s) [1] for x=3D0x1.112f4ep-4
cospi      gives 0x1.f4cd4cp-1
mpfr_cospi gives 0x1.f4cd4ap-1
Total: errors=3D110478 (0.00%) errors2=3D0 maxerr=3D5.01e-01 ulp(s)

Checking sinpi
MPFR library: 4.2.0-p9=20=20=20=20
MPFR header:  4.2.0-p9 (based on 4.2.0)
Checking function sinpif with MPFR_RNDN
libm wrong by up to 7.50e-01 ulp(s) [1] for x=3D0x1.72681p-129
sinpi      gives 0x1.22eaa8p-127
mpfr_sinpi gives 0x1.22eaa4p-127
Total: errors=3D4614478 (0.11%) errors2=3D0 maxerr=3D7.50e-01 ulp(s)

Checking tanpi
MPFR library: 4.2.0-p9=20=20=20=20
MPFR header:  4.2.0-p9 (based on 4.2.0)
Checking function tanpif with MPFR_RNDN
libm wrong by up to 8.00e-01 ulp(s) [1] for x=3D0x1.4442bep-5
tanpi      gives 0x1.fffd42p-4
mpfr_tanpi gives 0x1.fffd44p-4
Total: errors=3D63422266 (1.48%) errors2=3D0 maxerr=3D8.00e-01 ulp(s)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272742-227-mtDH2EiQXV>