about summary refs log tree commit diff
path: root/ports/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-05-19 14:45:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-05-19 14:45:41 +0000
commitdb62a9075305963281572cb990d1c766948bae7b (patch)
tree4e0917803301441db899bb45a674c7fefb280a0e /ports/sysdeps
parentf16cc3eb810be5419aa2fc07d6e05f93624df9ce (diff)
downloadglibc-db62a9075305963281572cb990d1c766948bae7b.tar.gz
glibc-db62a9075305963281572cb990d1c766948bae7b.tar.xz
glibc-db62a9075305963281572cb990d1c766948bae7b.zip
Handle sincos with generic libm-test logic.
Diffstat (limited to 'ports/sysdeps')
-rw-r--r--ports/sysdeps/aarch64/libm-test-ulps14
-rw-r--r--ports/sysdeps/alpha/fpu/libm-test-ulps14
-rw-r--r--ports/sysdeps/arm/libm-test-ulps14
-rw-r--r--ports/sysdeps/hppa/fpu/libm-test-ulps14
-rw-r--r--ports/sysdeps/ia64/fpu/libm-test-ulps32
-rw-r--r--ports/sysdeps/m68k/coldfire/fpu/libm-test-ulps10
-rw-r--r--ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps6
-rw-r--r--ports/sysdeps/microblaze/libm-test-ulps14
-rw-r--r--ports/sysdeps/mips/mips32/libm-test-ulps14
-rw-r--r--ports/sysdeps/mips/mips64/libm-test-ulps14
-rw-r--r--ports/sysdeps/powerpc/nofpu/libm-test-ulps14
-rw-r--r--ports/sysdeps/tile/libm-test-ulps14
12 files changed, 87 insertions, 87 deletions
diff --git a/ports/sysdeps/aarch64/libm-test-ulps b/ports/sysdeps/aarch64/libm-test-ulps
index aebc46f469..888595bbf8 100644
--- a/ports/sysdeps/aarch64/libm-test-ulps
+++ b/ports/sysdeps/aarch64/libm-test-ulps
@@ -2998,21 +2998,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/alpha/fpu/libm-test-ulps b/ports/sysdeps/alpha/fpu/libm-test-ulps
index d546515ea1..568d677cdf 100644
--- a/ports/sysdeps/alpha/fpu/libm-test-ulps
+++ b/ports/sysdeps/alpha/fpu/libm-test-ulps
@@ -2676,21 +2676,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/arm/libm-test-ulps b/ports/sysdeps/arm/libm-test-ulps
index e0c7e0d472..f141d09090 100644
--- a/ports/sysdeps/arm/libm-test-ulps
+++ b/ports/sysdeps/arm/libm-test-ulps
@@ -1518,21 +1518,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/hppa/fpu/libm-test-ulps b/ports/sysdeps/hppa/fpu/libm-test-ulps
index f5469cf169..d56dd660a3 100644
--- a/ports/sysdeps/hppa/fpu/libm-test-ulps
+++ b/ports/sysdeps/hppa/fpu/libm-test-ulps
@@ -3973,25 +3973,25 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
 double: 1
-float: 1
 idouble: 1
-ifloat: 1
 ildouble: 1
 ldouble: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/ia64/fpu/libm-test-ulps b/ports/sysdeps/ia64/fpu/libm-test-ulps
index c5a2a08549..da9c8fc244 100644
--- a/ports/sysdeps/ia64/fpu/libm-test-ulps
+++ b/ports/sysdeps/ia64/fpu/libm-test-ulps
@@ -616,22 +616,22 @@ ildouble: 1
 ldouble: 1
 
 # sincos
-Test "sincos (0.80190127184058835, &sin_res, &cos_res) puts 0.69534156199418473 in cos_res":
+Test "sincos (0.80190127184058835) extra output 2":
 double: 1
 idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+ildouble: 1
+ldouble: 1
+Test "sincos (M_PI_6l*2.0) extra output 2":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
-Test "sincos (pi/2, &sin_res, &cos_res) puts 0 in cos_res":
+Test "sincos (pi/2) extra output 2":
 double: 1
 float: 1
 idouble: 1
@@ -699,16 +699,16 @@ double: 1
 idouble: 1
 ildouble: 1
 ldouble: 1
+Test "y1 (1.5) == -0.412308626973911295952829820633445323":
+float: 1
+ifloat: 1
+ildouble: 1
+ldouble: 1
 Test "y1 (10.0) == 0.249015424206953883923283474663222803":
 double: 3
 float: 1
 idouble: 3
 ifloat: 1
-Test "y1 (1.5) == -0.412308626973911295952829820633445323";
-float: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
 Test "y1 (2.0) == -0.107032431540937546888370772277476637":
 double: 1
 float: 1
@@ -758,16 +758,16 @@ double: 1
 idouble: 1
 ildouble: 1
 ldouble: 1
+Test "yn (1, 1.5) == -0.412308626973911295952829820633445323":
+float: 1
+ifloat: 1
+ildouble: 1
+ldouble: 1
 Test "yn (1, 10.0) == 0.249015424206953883923283474663222803":
 double: 3
 float: 1
 idouble: 3
 ifloat: 1
-Test "yn (1, 1.5) == -0.412308626973911295952829820633445323";
-float: 1
-ifloat: 1
-ldouble: 1
-ildouble: 1
 Test "yn (1, 2.0) == -0.107032431540937546888370772277476637":
 double: 1
 float: 1
diff --git a/ports/sysdeps/m68k/coldfire/fpu/libm-test-ulps b/ports/sysdeps/m68k/coldfire/fpu/libm-test-ulps
index 8608c0d390..727b06b759 100644
--- a/ports/sysdeps/m68k/coldfire/fpu/libm-test-ulps
+++ b/ports/sysdeps/m68k/coldfire/fpu/libm-test-ulps
@@ -446,15 +446,15 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps b/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps
index 9b339fd486..7bedb42c2e 100644
--- a/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps
+++ b/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps
@@ -5701,21 +5701,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
 ildouble: 1
 ldouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
 ildouble: 1
 ldouble: 1
-Test "sincos (pi/2, &sin_res, &cos_res) puts 0 in cos_res":
+Test "sincos (pi/2) extra output 2":
 double: 1
 float: 1
 idouble: 1
diff --git a/ports/sysdeps/microblaze/libm-test-ulps b/ports/sysdeps/microblaze/libm-test-ulps
index 9fde9b1951..d369b08a00 100644
--- a/ports/sysdeps/microblaze/libm-test-ulps
+++ b/ports/sysdeps/microblaze/libm-test-ulps
@@ -1210,21 +1210,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/mips/mips32/libm-test-ulps b/ports/sysdeps/mips/mips32/libm-test-ulps
index e0c7e0d472..f141d09090 100644
--- a/ports/sysdeps/mips/mips32/libm-test-ulps
+++ b/ports/sysdeps/mips/mips32/libm-test-ulps
@@ -1518,21 +1518,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/mips/mips64/libm-test-ulps b/ports/sysdeps/mips/mips64/libm-test-ulps
index c7a18d6666..a3e0393b6f 100644
--- a/ports/sysdeps/mips/mips64/libm-test-ulps
+++ b/ports/sysdeps/mips/mips64/libm-test-ulps
@@ -2510,21 +2510,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/powerpc/nofpu/libm-test-ulps b/ports/sysdeps/powerpc/nofpu/libm-test-ulps
index 652cad322c..77cbf745db 100644
--- a/ports/sysdeps/powerpc/nofpu/libm-test-ulps
+++ b/ports/sysdeps/powerpc/nofpu/libm-test-ulps
@@ -2114,21 +2114,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1
 
diff --git a/ports/sysdeps/tile/libm-test-ulps b/ports/sysdeps/tile/libm-test-ulps
index eddae42c76..aecaa06308 100644
--- a/ports/sysdeps/tile/libm-test-ulps
+++ b/ports/sysdeps/tile/libm-test-ulps
@@ -1271,21 +1271,21 @@ float: 1
 ifloat: 1
 
 # sincos
-Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+Test "sincos (0x1p+120) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+Test "sincos (0x1p+127) extra output 2":
 float: 1
 ifloat: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
-double: 1
-idouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
+Test "sincos (M_PI_6l*2.0) extra output 1":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
+Test "sincos (M_PI_6l*2.0) extra output 2":
+double: 1
+idouble: 1
+Test "sincos (pi/6) extra output 2":
 float: 1
 ifloat: 1