diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-05-01 20:33:04 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-05-01 20:33:04 +0000 |
commit | e1483b365da03e4bab3882e30872ed331f48cd21 (patch) | |
tree | 91b18b49ab60f06f17b9257335e5d67178b06ecc /sysdeps/i386/fpu/libm-test-ulps | |
parent | c5a3a509dfddad86b9fef84b46a172f969cb9b4b (diff) | |
download | glibc-e1483b365da03e4bab3882e30872ed331f48cd21.zip glibc-e1483b365da03e4bab3882e30872ed331f48cd21.tar.gz glibc-e1483b365da03e4bab3882e30872ed331f48cd21.tar.bz2 |
Add more tests of exp, exp10, exp2, expm1.
This patch adds some randomly-generated tests of exp, exp10, exp2 and
expm1 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 exp, exp10, exp2 and
expm1.
* math/auto-libm-test-out: Regenerated.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'sysdeps/i386/fpu/libm-test-ulps')
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 42 |
1 files changed, 34 insertions, 8 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 4d8054f..91e5c63 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -1339,6 +1339,10 @@ ifloat: 2 ildouble: 4 ldouble: 4 +Function: "exp": +ildouble: 1 +ldouble: 1 + Function: "exp10": ildouble: 1 ldouble: 1 @@ -1356,24 +1360,46 @@ double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 +ildouble: 2 +ldouble: 2 Function: "exp10_upward": double: 1 float: 1 idouble: 1 ifloat: 1 +ildouble: 2 +ldouble: 2 + +Function: "exp2": +double: 1 +idouble: 1 +ildouble: 1 +ldouble: 1 + +Function: "exp2_downward": +ildouble: 1 +ldouble: 1 + +Function: "exp2_towardzero": +ildouble: 1 +ldouble: 1 + +Function: "exp2_upward": ildouble: 1 ldouble: 1 Function: "exp_downward": double: 1 idouble: 1 +ildouble: 1 +ldouble: 1 Function: "exp_towardzero": double: 1 idouble: 1 +ildouble: 1 +ldouble: 1 Function: "exp_upward": ildouble: 1 @@ -1404,8 +1430,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 3 -ldouble: 3 +ildouble: 4 +ldouble: 4 Function: "gamma": double: 1 @@ -1682,16 +1708,16 @@ double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 +ildouble: 2 +ldouble: 2 Function: "pow10_upward": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 +ildouble: 2 +ldouble: 2 Function: "pow_downward": double: 1 |