From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7838) id D3A2F3858D1E; Tue, 14 Feb 2023 08:41:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3A2F3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676364098; bh=PgY5qr8LVFZ86Q9Rs2rRDakvBCDWZbV+akQtH/u7mjY=; h=From:To:Subject:Date:From; b=ntHbLMA+WSjnFODsOUPI5tBX0ob4QCNTwnIzlqx2668iX61jeeGK0BnzBAejATJ95 m8RZKcOANIHB3Pn3Vo/Ymq7WpEhZHqiNHNpxjgOGbCY08L/b6YiwG1Pb/JAeq2zNvY lsmHC5DyC4WUGd+OOQI2OFh8vb/+Ie/QaXNHclrU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Paul Zimmermann To: glibc-cvs@sourceware.org Subject: [glibc] added pair of inputs for hypotf in binary32 X-Act-Checkin: glibc X-Git-Author: Paul Zimmermann X-Git-Refname: refs/heads/master X-Git-Oldrev: 000ca24f807762a1fa6bf076d80f152d2512f17d X-Git-Newrev: cf7ffdd8a5f6da55397e10b3860062944312824c Message-Id: <20230214084138.D3A2F3858D1E@sourceware.org> Date: Tue, 14 Feb 2023 08:41:38 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cf7ffdd8a5f6da55397e10b3860062944312824c commit cf7ffdd8a5f6da55397e10b3860062944312824c Author: Paul Zimmermann Date: Sun Feb 12 08:01:18 2023 +0100 added pair of inputs for hypotf in binary32 This pair yields an error of 1 ulp in binary32, whereas the current maximal known error for hypotf on x86_64 is zero: Checking hypot with glibc-2.37 hypot 0 -1 -0x1.003222p-20,-0x1.6a2d58p-32 [0.501] 0.500001 0.500000001392678 libm gives 0x1.003224p-20 mpfr gives 0x1.003222p-20 See https://sourceware.org/pipermail/libc-alpha/2023-February/145432.html and https://sourceware.org/pipermail/libc-alpha/2023-February/145442.html Reviewed-by: Carlos O'Donell Diff: --- math/auto-libm-test-in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 393d9fcfaa..c400cafb4b 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -5773,6 +5773,8 @@ hypot 0x1p-16384 0x1p-16446 hypot 0x1p-16383 0x1p-16494 hypot -0x1.fa7deap+0 0x1.a761bab383ac8p+0 +# the following inputs yield an error of 1 ulp on x86_64 in binary32 +hypot -0x1.003222p-20 -0x1.6a2d58p-32 j0 -1.0 j0 0.0