diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-11-10 17:34:13 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-11-10 17:34:13 +0000 |
commit | 685312298fcc5b24ed9700bcc43787d5f83553c5 (patch) | |
tree | 98c4fe12f8634c62d5357a5137292e8e1987072a /math/auto-libm-test-out | |
parent | 71bbdde7f53951f6a1d59492f36f80769090a8b3 (diff) | |
download | glibc-685312298fcc5b24ed9700bcc43787d5f83553c5.tar.gz glibc-685312298fcc5b24ed9700bcc43787d5f83553c5.tar.xz glibc-685312298fcc5b24ed9700bcc43787d5f83553c5.zip |
Add more tests of pow.
Prompted by a gcc-patches discussion, this patch adds tests of pow for the cases where pow (x, 0.5) is required to return a different result from sqrt (x), as those cases were previously missing from the tests (although they worked correctly). Tested for x86_64 and x86. * math/auto-libm-test-in: Add another test of pow. * math/auto-libm-test-out: Regenerated. * math/libm-test.inc (pow_test_data): Add another test.
Diffstat (limited to 'math/auto-libm-test-out')
-rw-r--r-- | math/auto-libm-test-out | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/math/auto-libm-test-out b/math/auto-libm-test-out index 22c4b41881..9d3819ca01 100644 --- a/math/auto-libm-test-out +++ b/math/auto-libm-test-out @@ -219802,6 +219802,31 @@ pow 0.0 min_subnorm = pow tonearest ldbl-128 0x0p+0L 0x4p-16496L : 0x0p+0L : inexact-ok = pow towardzero ldbl-128 0x0p+0L 0x4p-16496L : 0x0p+0L : inexact-ok = pow upward ldbl-128 0x0p+0L 0x4p-16496L : 0x0p+0L : inexact-ok +pow -0 0.5 += pow downward flt-32 -0x0p+0f 0x8p-4f : 0x0p+0f : inexact-ok += pow tonearest flt-32 -0x0p+0f 0x8p-4f : 0x0p+0f : inexact-ok += pow towardzero flt-32 -0x0p+0f 0x8p-4f : 0x0p+0f : inexact-ok += pow upward flt-32 -0x0p+0f 0x8p-4f : 0x0p+0f : inexact-ok += pow downward dbl-64 -0x0p+0 0x8p-4 : 0x0p+0 : inexact-ok += pow tonearest dbl-64 -0x0p+0 0x8p-4 : 0x0p+0 : inexact-ok += pow towardzero dbl-64 -0x0p+0 0x8p-4 : 0x0p+0 : inexact-ok += pow upward dbl-64 -0x0p+0 0x8p-4 : 0x0p+0 : inexact-ok += pow downward ldbl-96-intel -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow tonearest ldbl-96-intel -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow towardzero ldbl-96-intel -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow upward ldbl-96-intel -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow downward ldbl-96-m68k -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow tonearest ldbl-96-m68k -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow towardzero ldbl-96-m68k -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow upward ldbl-96-m68k -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow downward ldbl-128 -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow tonearest ldbl-128 -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow towardzero ldbl-128 -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow upward ldbl-128 -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow downward ldbl-128ibm -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow tonearest ldbl-128ibm -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow towardzero ldbl-128ibm -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok += pow upward ldbl-128ibm -0x0p+0L 0x8p-4L : 0x0p+0L : inexact-ok pow -0 4 = pow downward flt-32 -0x0p+0f 0x4p+0f : 0x0p+0f : inexact-ok = pow tonearest flt-32 -0x0p+0f 0x4p+0f : 0x0p+0f : inexact-ok |