diff test/int.c @ 127:eb4d8975926c

Intel float fix
author kono
date Tue, 01 Apr 2003 10:31:40 +0900 (2003-04-01)
parents b14ff9671c90
children 07eb1249f07a
line wrap: on
line diff
--- a/test/int.c	Wed Mar 26 16:50:12 2003 +0900
+++ b/test/int.c	Tue Apr 01 10:31:40 2003 +0900
@@ -303,6 +303,7 @@
     g += 2*g;
     printf("%d:%d\t",n++,g);
 
+    g = -3;
     f *= 2*g;
     printf("%d:%d\t",n++,f);
     f /= 2*g;
@@ -327,6 +328,7 @@
     *pg += 2**pg;
     printf("%d:%d\t",n++,*pg);
 
+    *pg = -3;
     *pf *= 2**pg;
     printf("%d:%d\t",n++,*pf);
     *pf /= 2**pg;