diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-01-07 14:59:53 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-01-07 14:59:53 +0000 |
commit | a9708fed779ff4e61e07ec2eae78e5c0753e1222 (patch) | |
tree | b673bfb73f85b6d680f518cb062ef9dc7828642c /sysdeps/i386/fpu | |
parent | afec409af996af8efb082c109d0dd9fc211f4d8e (diff) | |
download | glibc-a9708fed779ff4e61e07ec2eae78e5c0753e1222.tar.gz glibc-a9708fed779ff4e61e07ec2eae78e5c0753e1222.tar.xz glibc-a9708fed779ff4e61e07ec2eae78e5c0753e1222.zip |
Fix casinh, casin overflow (bug 14996).
Diffstat (limited to 'sysdeps/i386/fpu')
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 3ad23d73ce..3fc30de462 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -518,6 +518,12 @@ float: 1 ifloat: 1 ildouble: 2 ldouble: 2 +Test "Imaginary part of: casin (0x1.fp1023 + 0x1.fp1023 i) == 7.853981633974483096156608458198757210493e-1 + 7.107906849659093345062145442726115449315e2 i": +double: 1 +idouble: 1 +Test "Imaginary part of: casin (0x1.fp127 + 0x1.fp127 i) == 7.853981633974483096156608458198757210493e-1 + 8.973081118419833726837456344608533993585e1 i": +double: 1 +idouble: 1 Test "Imaginary part of: casin (1.5 + +0 i) == pi/2 + 0.9624236501192068949955178268487368462704 i": double: 1 float: 1 @@ -626,6 +632,12 @@ idouble: 1 ifloat: 1 ildouble: 1 ldouble: 1 +Test "Real part of: casinh (0x1.fp1023 + 0x1.fp1023 i) == 7.107906849659093345062145442726115449315e2 + 7.853981633974483096156608458198757210493e-1 i": +double: 1 +idouble: 1 +Test "Real part of: casinh (0x1.fp127 + 0x1.fp127 i) == 8.973081118419833726837456344608533993585e1 + 7.853981633974483096156608458198757210493e-1 i": +double: 1 +idouble: 1 Test "Real part of: casinh (1.0 + +0 i) == 0.8813735870195430252326093249797923090282 + +0 i": double: 1 float: 1 |