diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-05-19 14:45:41 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-05-19 14:45:41 +0000 |
commit | db62a9075305963281572cb990d1c766948bae7b (patch) | |
tree | 4e0917803301441db899bb45a674c7fefb280a0e /sysdeps/sh | |
parent | f16cc3eb810be5419aa2fc07d6e05f93624df9ce (diff) | |
download | glibc-db62a9075305963281572cb990d1c766948bae7b.tar glibc-db62a9075305963281572cb990d1c766948bae7b.tar.gz glibc-db62a9075305963281572cb990d1c766948bae7b.tar.bz2 glibc-db62a9075305963281572cb990d1c766948bae7b.zip |
Handle sincos with generic libm-test logic.
Diffstat (limited to 'sysdeps/sh')
-rw-r--r-- | sysdeps/sh/sh4/fpu/libm-test-ulps | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sysdeps/sh/sh4/fpu/libm-test-ulps b/sysdeps/sh/sh4/fpu/libm-test-ulps index eb17664c11..09d8a949b2 100644 --- a/sysdeps/sh/sh4/fpu/libm-test-ulps +++ b/sysdeps/sh/sh4/fpu/libm-test-ulps @@ -563,27 +563,27 @@ idouble: 1 ifloat: 1 # sincos -Test "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842626 in cos_res": +Test "sincos (0.7) extra output 2": double: 1 float: 1 idouble: 1 ifloat: 1 -Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res": -double: 1 -float: 0.5 -idouble: 1 -ifloat: 0.5 -Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.866025403784438646764 in sin_res": +Test "sincos (M_PI_6l*2.0) extra output 1": double: 1 float: 1 idouble: 1 ifloat: 1 -Test "sincos (pi/2, &sin_res, &cos_res) puts 0 in cos_res": +Test "sincos (M_PI_6l*2.0) extra output 2": +double: 1 +float: 0.5 +idouble: 1 +ifloat: 0.5 +Test "sincos (pi/2) extra output 2": double: 0.2758 float: 0.3667 idouble: 0.2758 ifloat: 0.3667 -Test "sincos (pi/6, &sin_res, &cos_res) puts 0.866025403784438646764 in cos_res": +Test "sincos (pi/6) extra output 2": float: 1 ifloat: 1 |