annotate test/cext.c @ 356:6818bd03767d

*** empty log message ***
author kono
date Sun, 04 Jul 2004 21:08:32 +0900
parents 41ed77cb9c67
children 0c256ea2a97e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
353
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
1
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
2 unsigned int u;
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
3
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
4 main()
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
5 {
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
6 int i,k; unsigned uk;
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
7
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
8 for(i=-3;i<4;i++) {
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
9 k = (char) i;
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
10 uk = (unsigned char) i;
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
11 printf("%d %u\n",k,uk);
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
12 k = (short) i;
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
13 uk = (unsigned short) i;
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
14 printf("%d %u\n",k,uk);
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
15 }
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
16 u = (unsigned) -23432;
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
17
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
18 printf("%d\n",u/(8048+5));
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
19 return 0;
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
20 }
41ed77cb9c67 name table reogranization, extendable cheap done.
kono
parents:
diff changeset
21