diff options
author | Paul Zimmermann <Paul.Zimmermann@inria.fr> | 2023-02-12 08:01:18 +0100 |
---|---|---|
committer | Paul Zimmermann <Paul.Zimmermann@inria.fr> | 2023-02-14 09:41:30 +0100 |
commit | cf7ffdd8a5f6da55397e10b3860062944312824c (patch) | |
tree | 8344066eee75be44b1cc2d83c5e7befa357ac392 | |
parent | 000ca24f807762a1fa6bf076d80f152d2512f17d (diff) | |
download | glibc-cf7ffdd8a5f6da55397e10b3860062944312824c.zip glibc-cf7ffdd8a5f6da55397e10b3860062944312824c.tar.gz glibc-cf7ffdd8a5f6da55397e10b3860062944312824c.tar.bz2 |
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 <carlos@redhat.com>
-rw-r--r-- | math/auto-libm-test-in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 393d9fc..c400caf 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 |