diff options
Diffstat (limited to 'sysdeps/s390')
-rw-r--r-- | sysdeps/s390/fpu/libm-test-ulps | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sysdeps/s390/fpu/libm-test-ulps b/sysdeps/s390/fpu/libm-test-ulps index 36204ac7db..78f4f26639 100644 --- a/sysdeps/s390/fpu/libm-test-ulps +++ b/sysdeps/s390/fpu/libm-test-ulps @@ -12,6 +12,11 @@ double: 1 float: 2 idouble: 1 ifloat: 2 +Test "asin (0.7) == 0.77539749661075306374035335271498708": +double: 1 +float: 2 +idouble: 1 +ifloat: 2 # atanh Test "atanh (0.7) == 0.8673005276940531944": @@ -172,6 +177,14 @@ ifloat: 1 Test "Imaginary part of: cexp (0.7 + 1.2 i) == 0.7296989091503236012 + 1.8768962328348102821 i": float: 1 ifloat: 1 +Test "Real part of: cexp (0.7 + 1.2 i) == 0.72969890915032360123451688642930727 + 1.8768962328348102821139467908203072 i": +double: 1 +float: 1 +idouble: 1 +ifloat: 1 +Test "Imaginary part of: cexp (0.7 + 1.2 i) == 0.72969890915032360123451688642930727 + 1.8768962328348102821139467908203072 i": +float: 1 +ifloat: 1 # clog Test "Imaginary part of: clog (-2 - 3 i) == 1.2824746787307683680 - 2.1587989303424641704 i": @@ -243,6 +256,11 @@ double: 1 float: 1 idouble: 1 ifloat: 1 +Test "cos (0.7) == 0.76484218728448842625585999019186495": +double: 1 +float: 1 +idouble: 1 +ifloat: 1 Test "cos (M_PI_6l * 2.0) == 0.5": double: 1 float: 0.5 @@ -366,6 +384,9 @@ ifloat: 1 Test "exp10 (0.7) == 5.0118723362727228500": float: 1 ifloat: 1 +Test "exp10 (0.7) == 5.0118723362727228500155418688494574": +float: 1 +ifloat: 1 Test "exp10 (3) == 1000": double: 6 float: 2 @@ -552,6 +573,11 @@ idouble: 1 ifloat: 1 # sincos +Test "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842625585999019186495 in cos_res": +double: 1 +float: 1 +idouble: 1 +ifloat: 1 Test "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842626 in cos_res": double: 1 float: 1 @@ -562,6 +588,11 @@ double: 1 float: 0.5 idouble: 1 ifloat: 0.5 +Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res": +double: 1 +float: 1 +idouble: 1 +ifloat: 1 Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.866025403784438646764 in sin_res": double: 1 float: 1 @@ -572,6 +603,9 @@ double: 0.2758 float: 0.3667 idouble: 0.2758 ifloat: 0.3667 +Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res": +float: 1 +ifloat: 1 Test "sincos (pi/6, &sin_res, &cos_res) puts 0.866025403784438646764 in cos_res": float: 1 ifloat: 1 |