summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-28 18:12:18 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-28 18:12:18 +0000
commitaea6353acfdd7c41ee405899cb40240d9581c54c (patch)
tree9e30cec67d508e7e5822480da2e702b1b03aaecb /sysdeps/i386
parent6f9ebf8af2ea59713e34df2f20c3a88cb0286b28 (diff)
downloadglibc-aea6353acfdd7c41ee405899cb40240d9581c54c.tar.gz
glibc-aea6353acfdd7c41ee405899cb40240d9581c54c.tar.xz
glibc-aea6353acfdd7c41ee405899cb40240d9581c54c.zip
Update.
2000-11-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
	crappy i486 FPU.
	Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps24
1 files changed, 18 insertions, 6 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 9284188fad..a56803ba08 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -406,19 +406,21 @@ double: 1
 float: 4
 idouble: 1
 ifloat: 4
+ldouble: 2
+ildouble: 2
 Test "Imaginary part of: cpow (2 + 3 i, 4 + 0 i) == -119.0 - 120.0 i":
 float: 1
 ifloat: 1
-ildouble: 4
-ldouble: 4
+ildouble: 5
+ldouble: 5
 Test "Real part of: cpow (e + 0 i, 0 + 2 * M_PIl i) == 1.0 + 0.0 i":
 Test "Imaginary part of: cpow (e + 0 i, 0 + 2 * M_PIl i) == 1.0 + 0.0 i":
 double: 1.104
 float: 2.5333
 idouble: 1.104
 ifloat: 2.5333
-ildouble: 1
-ldouble: 1
+ildouble: 9
+ldouble: 9
 
 # csin
 Test "Real part of: csin (0.7 + 1.2 i) == 1.1664563419657581376 + 1.1544997246948547371 i":
@@ -748,6 +750,9 @@ idouble: 1
 ifloat: 2
 
 # log
+Test "log (1.0 / M_El) == -1":
+ldouble: 1
+ildouble: 1
 Test "log (0.7) == -0.35667494393873237891":
 double: 1
 float: 1
@@ -758,6 +763,8 @@ ldouble: 2341
 Test "log (e) == 1":
 float: 0.5
 ifloat: 0.5
+ildouble: 1
+ldouble: 1
 
 # log10
 Test "log10 (0.7) == -0.15490195998574316929":
@@ -779,6 +786,9 @@ idouble: 1
 ifloat: 1
 ildouble: 585
 ldouble: 585
+Test "log1p (M_El - 1.0) == 1":
+ldouble: 1
+ildouble: 1
 
 # log2
 Test "log2 (0.7) == -0.51457317282975824043":
@@ -1251,14 +1261,16 @@ double: 1
 float: 4
 idouble: 1
 ifloat: 4
+ldouble: 2
+ildouble: 2
 
 Function: Imaginary part of "cpow":
 double: 1.104
 float: 2.5333
 idouble: 1.104
 ifloat: 2.5333
-ildouble: 4
-ldouble: 4
+ildouble: 9
+ldouble: 9
 
 Function: Real part of "csin":
 ildouble: 966