Mercurial > hg > CbC > old > device
comparison test/cext.c @ 353:41ed77cb9c67 nametbl-done
name table reogranization, extendable cheap done.
author | kono |
---|---|
date | Sat, 03 Jul 2004 13:53:37 +0900 |
parents | |
children | 0c256ea2a97e |
comparison
equal
deleted
inserted
replaced
352:48aeb7379759 | 353:41ed77cb9c67 |
---|---|
1 | |
2 unsigned int u; | |
3 | |
4 main() | |
5 { | |
6 int i,k; unsigned uk; | |
7 | |
8 for(i=-3;i<4;i++) { | |
9 k = (char) i; | |
10 uk = (unsigned char) i; | |
11 printf("%d %u\n",k,uk); | |
12 k = (short) i; | |
13 uk = (unsigned short) i; | |
14 printf("%d %u\n",k,uk); | |
15 } | |
16 u = (unsigned) -23432; | |
17 | |
18 printf("%d\n",u/(8048+5)); | |
19 return 0; | |
20 } | |
21 |