diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-04-30 22:51:29 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-04-30 22:51:29 +0000 |
commit | 9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4 (patch) | |
tree | 9d3262e6db04ee50171906ab26e326e4794596fb /math/auto-libm-test-in | |
parent | 094fca83eeaf8d7fc8478ea9fa8cdcb19e2df2de (diff) | |
download | glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.tar.gz glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.tar.xz glibc-9862ab1f6747abd9466d1d9b2f5ae39e3adb55f4.zip |
Add more tests of csqrt.
This patch adds some randomly-generated tests of csqrt that are observed to increase ulps on x86_64. Tested for x86_64 and x86 and ulps updated accordingly. * math/auto-libm-test-in: Add more tests of csqrt. * math/auto-libm-test-out: Regenerated. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'math/auto-libm-test-in')
-rw-r--r-- | math/auto-libm-test-in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 8403156590..9c2abded96 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -940,6 +940,20 @@ csqrt -2 3 # Principal square root should be returned (i.e., non-negative real part). csqrt 0 -1 +csqrt -0xe.6432ap-4 0xe.8175p-4 +csqrt -0x4.d01448p-4 -0x7.c1915p+0 +csqrt -0xd.e1d5fp-4 -0x1.054226p+4 +csqrt 0x5.39e238p+0 -0x4.576278p-4 +csqrt -0xe.735dbp+0 -0x5.26cb98p+40 +csqrt -0x7.915fafbe9f588p-4 -0x2.5e01bcp+0 +csqrt 0xe.229827fe17d08p-4 0xd.849ecp-4 +csqrt -0x4.d0144005d7af4p-4 -0x7.c19148p+0 +csqrt 0x8p-152 0x7.8p-148 +csqrt -0x4.82773b736291p-4 -0x1.bcb7cep+0 +csqrt 0xf.fffffp+124 0xe.7e0c2p+116 +csqrt -0x4.15ca1p+0 -0x8p-152 +csqrt 0xf.a24adp+28 0x8.0f148p+36 + csqrt 0x1.fffffep+127 0x1.fffffep+127 csqrt 0x1.fffffep+127 1.0 csqrt 0x1p-149 0x1p-149 |