Mercurial > hg > CbC > old > device
comparison test/short.c @ 172:096559f07a70
some check
author | kono |
---|---|
date | Tue, 25 Nov 2003 11:47:41 +0900 |
parents | 6e0f67b7d200 |
children | 5b50813d0c45 |
comparison
equal
deleted
inserted
replaced
171:3902240d4930 | 172:096559f07a70 |
---|---|
127 | 127 |
128 ii = f(i,j,k,m,a[33]); | 128 ii = f(i,j,k,m,a[33]); |
129 printf("f()=%d\n",ii); | 129 printf("f()=%d\n",ii); |
130 ii = g(i,j,k,m,a[33]); | 130 ii = g(i,j,k,m,a[33]); |
131 printf("f()=%d\n",ii); | 131 printf("f()=%d\n",ii); |
132 | 132 return 0; |
133 } | 133 } |
134 | 134 |
135 short f(short i,unsigned short j,unsigned short k,short m,short a) | 135 short f(short i,unsigned short j,unsigned short k,short m,short a) |
136 { | 136 { |
137 return i+j*k-m/a; | 137 return i+j*k-m/a; |