Mercurial > hg > CbC > old > device
diff test/int.c @ 690:5d3b4669854c
fix prindirect
author | kono |
---|---|
date | Wed, 10 Oct 2007 15:05:04 +0900 |
parents | 0c256ea2a97e |
children | c2c709727221 |
line wrap: on
line diff
--- a/test/int.c Sun Oct 07 17:46:00 2007 +0900 +++ b/test/int.c Wed Oct 10 15:05:04 2007 +0900 @@ -373,14 +373,22 @@ int test2(int f,int i) { - int g,h; + int g,h,s; + printf("#0370:rec: %d %d\n",i,f); if (i<=0) return f; -#if 0 - printf("#0379:rec: %d %d\n",i,f); -#endif g = f*2; h = f-3.5; +#if 1 + printf("#0371:rec: %d %d\n",i,f); + s = f*1.5; + printf("#0372: %d\n", s); + s = test2(s,i-1); + printf("#0373: %d\n", s); + s = s/(h-1); + printf("#0374: %d\n", s); + printf("#0375: %d\n", h/3-(3.0-(g+3)*s/(h-1))); +#endif return h/3-(3.0-(g+3)*test2(f*1.5,i-1)/(h-1)); }