diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-01-04 13:25:17 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-01-04 13:25:17 +0000 |
commit | cdc1c96fbafce8c16ee0e75d466f4358e6a860db (patch) | |
tree | e6f6446e5081847ac19a5236c891d39e64c0a360 /sysdeps/i386/fpu | |
parent | 6420d207bb10d966163c52e4e607a1e48e6bb13f (diff) | |
download | glibc-cdc1c96fbafce8c16ee0e75d466f4358e6a860db.tar.gz glibc-cdc1c96fbafce8c16ee0e75d466f4358e6a860db.tar.xz glibc-cdc1c96fbafce8c16ee0e75d466f4358e6a860db.zip |
Fix casinh, casin inaccuracy from cancellation (bug 14994).
Diffstat (limited to 'sysdeps/i386/fpu')
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 5b595bc566..3ad23d73ce 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -209,7 +209,11 @@ ldouble: 1 # cacos Test "Imaginary part of: cacos (+0 + 0.5 i) == pi/2 - 0.4812118250596034474977589134243684231352 i": double: 2 +float: 1 idouble: 2 +ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: cacos (+0 + 1.0 i) == pi/2 - 0.8813735870195430252326093249797923090282 i": double: 2 float: 1 @@ -239,7 +243,11 @@ double: 1 idouble: 1 Test "Imaginary part of: cacos (-0 + 0.5 i) == pi/2 - 0.4812118250596034474977589134243684231352 i": double: 2 +float: 1 idouble: 2 +ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: cacos (-0 + 1.0 i) == pi/2 - 0.8813735870195430252326093249797923090282 i": double: 2 float: 1 @@ -272,6 +280,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: cacos (-1.5 - 0 i) == pi + 0.9624236501192068949955178268487368462704 i": ildouble: 1 ldouble: 1 @@ -285,6 +295,9 @@ double: 1 idouble: 1 ildouble: 1 ldouble: 1 +Test "Real part of: cacos (0.75 + 1.25 i) == 1.11752014915610270578240049553777969 - 1.13239363160530819522266333696834467 i": +float: 1 +ifloat: 1 Test "Imaginary part of: cacos (0.75 + 1.25 i) == 1.11752014915610270578240049553777969 - 1.13239363160530819522266333696834467 i": float: 1 ifloat: 1 @@ -295,6 +308,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: cacos (1.5 - 0 i) == +0 + 0.9624236501192068949955178268487368462704 i": ildouble: 1 ldouble: 1 @@ -415,7 +430,11 @@ ldouble: 1 # casin Test "Imaginary part of: casin (+0 + 0.5 i) == +0 + 0.4812118250596034474977589134243684231352 i": double: 2 +float: 1 idouble: 2 +ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: casin (+0 + 1.0 i) == +0 + 0.8813735870195430252326093249797923090282 i": double: 2 float: 1 @@ -445,7 +464,11 @@ double: 1 idouble: 1 Test "Imaginary part of: casin (-0 + 0.5 i) == -0 + 0.4812118250596034474977589134243684231352 i": double: 2 +float: 1 idouble: 2 +ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: casin (-0 + 1.0 i) == -0 + 0.8813735870195430252326093249797923090282 i": double: 2 float: 1 @@ -478,6 +501,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: casin (-1.5 - 0 i) == -pi/2 - 0.9624236501192068949955178268487368462704 i": ildouble: 1 ldouble: 1 @@ -498,6 +523,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: casin (1.5 - 0 i) == pi/2 - 0.9624236501192068949955178268487368462704 i": ildouble: 1 ldouble: 1 @@ -514,17 +541,29 @@ double: 1 float: 1 idouble: 1 ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Real part of: casinh (-0 - 1.5 i) == -0.9624236501192068949955178268487368462704 - pi/2 i": double: 1 float: 1 idouble: 1 ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Real part of: casinh (-0.5 + +0 i) == -0.4812118250596034474977589134243684231352 + +0 i": double: 2 +float: 1 idouble: 2 +ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Real part of: casinh (-0.5 - 0 i) == -0.4812118250596034474977589134243684231352 - 0 i": double: 2 +float: 1 idouble: 2 +ifloat: 1 +ildouble: 1 +ldouble: 1 Test "Real part of: casinh (-1.0 + +0 i) == -0.8813735870195430252326093249797923090282 + +0 i": double: 2 float: 1 @@ -3288,7 +3327,9 @@ ldouble: 1 Function: Real part of "cacos": double: 1 +float: 1 idouble: 1 +ifloat: 1 ildouble: 1 ldouble: 1 |